Changeset c2ee2b1 in sasview


Ignore:
Timestamp:
Jun 16, 2015 9:48:51 AM (5 years ago)
Author:
Paul Kienzle <pkienzle@…>
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:
c85b0ae, 66f21cd
Parents:
d70a31d
Message:

make sphinx rebuild work from 'python setup.py docs'

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • docs/sphinx-docs/build_sphinx.py

    rc22c5e3 rc2ee2b1  
    138138    copy_tree(html, SASVIEW_DOCS) 
    139139 
    140 if __name__ == "__main__": 
     140def rebuild(): 
    141141    clean() 
    142142    retrieve_user_docs() 
     
    144144    apidoc() 
    145145    build() 
    146          
     146 
    147147    print "=== Done ===" 
     148 
     149if __name__ == "__main__": 
     150    main() 
  • setup.py

    rd4c88e24 rc2ee2b1  
    158158        sys.path.append("docs/sphinx-docs") 
    159159        import build_sphinx 
    160  
    161         build_sphinx.clean() 
    162         build_sphinx.retrieve_user_docs() 
    163         build_sphinx.apidoc() 
    164         build_sphinx.build() 
     160        build_sphinx.rebuild() 
    165161 
    166162# sas module 
Note: See TracChangeset for help on using the changeset viewer.