Changeset 7168b8b in sasview for docs/sphinx-docs/build_sphinx.py


Ignore:
Timestamp:
Feb 17, 2015 6:40:40 AM (10 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:
a235729e
Parents:
3702c12
Message:

Changed initial clean up to also include folders under
sphinx-docs/source/user as otherwise the pre-build copy was generating
multiple copies of files and causing Sphinx to throw many, many,
warnings.

File:
1 edited

Legend:

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

    r296f290 r7168b8b  
    2929SPHINX_SOURCE = os.path.join(CURRENT_SCRIPT_DIR, "source") 
    3030SPHINX_SOURCE_API = os.path.join(SPHINX_SOURCE, "dev", "api") 
     31SPHINX_SOURCE_GUIFRAME = os.path.join(SPHINX_SOURCE, "user", "guiframe") 
     32SPHINX_SOURCE_MODELS = os.path.join(SPHINX_SOURCE, "user", "models") 
     33SPHINX_SOURCE_PERSPECTIVES = os.path.join(SPHINX_SOURCE, "user", "perspectives") 
    3134 
    3235def _remove_dir(dir_path): 
     
    4346    _remove_dir(SASVIEW_DOCS) 
    4447    _remove_dir(SPHINX_BUILD) 
     48    _remove_dir(SPHINX_SOURCE_GUIFRAME) 
     49    _remove_dir(SPHINX_SOURCE_MODELS) 
     50    _remove_dir(SPHINX_SOURCE_PERSPECTIVES) 
    4551 
    4652def retrieve_user_docs(): 
Note: See TracChangeset for help on using the changeset viewer.