Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • docs/sphinx-docs/source/conf.py

    rb229a3b rdb8805f  
    2525print("-- path --") 
    2626print("\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 
     30sasview_path = os.path.abspath('../../../src/sas') 
     31sys.path.append(sasview_path) 
     32import sas.sasview 
    2733 
    2834# -- General configuration ----------------------------------------------------- 
     
    7177 
    7278# General information about the project. 
     79copyright_date = sas.sasview.__release_date__ 
    7380project = u'SasView' 
    74 copyright = u'2018, The SasView Project' 
     81copyright = u'%s, The SasView Project' % copyright_date 
    7582 
    7683# The version info for the project you're documenting, acts as replacement for 
     
    7986# 
    8087# The short X.Y version. 
    81 version = '4.2' 
    82 # The full version, including alpha/beta/rc tags. 
    83 release = '4.2.0' 
     88version = ".".join(sas.sasview.__version__.split(".", 2)[0:2])  
     89# The full version, including ax/bx tags Note strict version is enforced. 
     90release = sas.sasview.__version__ 
    8491 
    8592# The language for content autogenerated by Sphinx. Refer to documentation 
Note: See TracChangeset for help on using the changeset viewer.