Changeset db8805f in sasview for docs/sphinx-docs/source/conf.py


Ignore:
Timestamp:
Feb 5, 2019 4:47:30 PM (5 years ago)
Author:
butler
Branches:
master, magnetic_scatt, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249
Children:
6cfbe0f
Parents:
5fcb814
Message:

Fix to PR comments

Fix spelling in release notes and changed back to single release string
in init which is parsed for the X.Y version in sphinx.conf. Also use
distutils.version.StrictVersion? to enforce strict version labels as per
Paul Kienzle.

File:
1 edited

Legend:

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

    r7556019 rdb8805f  
    8686# 
    8787# The short X.Y version. 
    88 version = sas.sasview.__major_version__ + "." + sas.sasview.__minor_version__ 
    89 # The full version, including alpha/beta/rc tags. 
     88version = ".".join(sas.sasview.__version__.split(".", 2)[0:2])  
     89# The full version, including ax/bx tags Note strict version is enforced. 
    9090release = sas.sasview.__version__ 
    9191 
Note: See TracChangeset for help on using the changeset viewer.