Changeset 2804 for trunk/docs
- Timestamp:
- Apr 23, 2017 10:14:20 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/docs/source/conf.py
r2802 r2804 108 108 # documentation root, use os.path.abspath to make it absolute, like shown here. 109 109 #sys.path.insert(0, os.path.abspath('.')) 110 os.path.abspath(os.path.join('..', '..'))111 110 sys.path.insert(0, os.path.abspath(os.path.join('..', '..'))) 112 111 sys.path.insert(1, os.path.abspath(os.path.join('..', '..','exports'))) 113 112 sys.path.insert(1, os.path.abspath(os.path.join('..', '..','imports'))) 114 print(sys.path) 113 #print(sys.path) 114 import glob 115 for fil in glob.glob(os.path.abspath(os.path.join('..', '..','*.py'))): 116 pkg = os.path.splitext(os.path.split(fil)[1])[0] 117 exec('import '+pkg) 118 import GSASIIpath 119 version = GSASIIpath.GetVersionNumber() 120 print('Found highest version as {}'.format(version)) 115 121 # -- General configuration ----------------------------------------------------- 116 122 … … 136 142 # General information about the project. 137 143 project = u'GSAS-II' 138 copyright = u'2013 , Von Dreele and Toby for Argonne National Laboratory'144 copyright = u'2013-2017, Von Dreele and Toby for Argonne National Laboratory' 139 145 140 146 # The version info for the project you're documenting, acts as replacement for … … 143 149 # 144 150 # The short X.Y version. 145 version = '0.2.0'151 #version = '0.2.0' 146 152 # The full version, including alpha/beta/rc tags. 147 release = ' 0.2.0'153 release = 'version {}'.format(version) 148 154 149 155 # The language for content autogenerated by Sphinx. Refer to documentation
Note: See TracChangeset
for help on using the changeset viewer.