Changeset 578a11d in sasview for docs/sphinx-docs/build_sphinx.py
- Timestamp:
- Oct 6, 2016 2:20:19 PM (8 years ago)
- 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, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 850a498
- Parents:
- f1cbae7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/sphinx-docs/build_sphinx.py
r8096b446 r578a11d 35 35 #/sasview-local-trunk/docs/sphinx-docs/build_sphinx.py 36 36 SASMODELS_SOURCE_PROLOG = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc") 37 SASMODELS_SOURCE_SESANS = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "ref", "sesans") 37 38 SASMODELS_SOURCE_MAGNETISM = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "ref", "magnetism") 38 39 SASMODELS_SOURCE_MAGIMG = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "ref", "magnetism", "mag_img") … … 71 72 SPHINX_SOURCE_PERSPECTIVES = os.path.join(SPHINX_SOURCE, "user", "sasgui", "perspectives") 72 73 SPHINX_SOURCE_TEST = os.path.join(SPHINX_SOURCE, "test") 74 SPHINX_SOURCE_USER = os.path.join(SPHINX_SOURCE, "user") 73 75 74 76 BUMPS_DOCS = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", … … 190 192 shutil.copy(fromhere,tohere) 191 193 194 if os.path.exists(SASMODELS_SOURCE_SESANS): 195 print "Found docs folder SASMODELS_SOURCE_SESANS at ", SASMODELS_SOURCE_SESANS 196 if os.path.exists(SPHINX_SOURCE_USER): 197 print "Found docs folder SPHINX_SOURCE_USER at ", SPHINX_SOURCE_USER 198 print "Copying sasmodels sesans files..." 199 for files in os.listdir(SASMODELS_SOURCE_SESANS): 200 if files.endswith(".rst"): 201 fromhere=os.path.join(SASMODELS_SOURCE_SESANS,files) 202 tohere=os.path.join(SPHINX_SOURCE_USER,files) 203 shutil.copy(fromhere,tohere) 204 192 205 if os.path.exists(SASMODELS_SOURCE_MAGNETISM): 193 206 print "Found docs folder SASMODELS_SOURCE_MAGNETISM at ", SASMODELS_SOURCE_MAGNETISM
Note: See TracChangeset
for help on using the changeset viewer.