Changes in docs/sphinx-docs/source/conf.py [b229a3b:db8805f] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/sphinx-docs/source/conf.py
rb229a3b rdb8805f 25 25 print("-- path --") 26 26 print("\n".join(sys.path)) 27 28 #need to import src.sas.sasview init to access version number and dates 29 #use abspath as above to locate then import 30 sasview_path = os.path.abspath('../../../src/sas') 31 sys.path.append(sasview_path) 32 import sas.sasview 27 33 28 34 # -- General configuration ----------------------------------------------------- … … 71 77 72 78 # General information about the project. 79 copyright_date = sas.sasview.__release_date__ 73 80 project = u'SasView' 74 copyright = u' 2018, The SasView Project'81 copyright = u'%s, The SasView Project' % copyright_date 75 82 76 83 # The version info for the project you're documenting, acts as replacement for … … 79 86 # 80 87 # The short X.Y version. 81 version = '4.2'82 # The full version, including a lpha/beta/rc tags.83 release = '4.2.0'88 version = ".".join(sas.sasview.__version__.split(".", 2)[0:2]) 89 # The full version, including ax/bx tags Note strict version is enforced. 90 release = sas.sasview.__version__ 84 91 85 92 # The language for content autogenerated by Sphinx. Refer to documentation
Note: See TracChangeset
for help on using the changeset viewer.