Changeset 5286b16 in sasview for docs/sphinx-docs


Ignore:
Timestamp:
Mar 19, 2016 9:34:10 AM (9 years ago)
Author:
smk78
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
7bcbeb7
Parents:
38e88e0
Message:

Add an fid call with rst_prolog to do the unit substitutions

File:
1 edited

Legend:

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

    r82bc7a9 r5286b16  
    6060# 
    6161# The short X.Y version. 
    62 version = '3.1.2' 
     62version = '4.0.0' 
    6363# The full version, including alpha/beta/rc tags. 
    64 release = '3.1.2' 
     64release = '4.0.0-alpha' 
    6565 
    6666# The language for content autogenerated by Sphinx. Refer to documentation 
     
    283283# If true, do not generate a @detailmenu in the "Top" node's menu. 
    284284#texinfo_no_detailmenu = False 
     285 
     286if os.path.exists('rst_prolog'): 
     287    with open('rst_prolog') as fid: 
     288        rst_prolog = fid.read() 
Note: See TracChangeset for help on using the changeset viewer.