Changes in / [a674d0b:b86e4ba] in sasview
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
docs/sphinx-docs/build_sphinx.py
reff1a8fc r18a1f2b 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_MAGNETISM = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "ref", "magnetism") 37 38 SASMODELS_SOURCE_REF_MODELS = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "ref", "models") 38 39 SASMODELS_SOURCE_MODELS = os.path.join(CURRENT_SCRIPT_DIR, "..", "..", "..", "sasmodels", "doc", "model") … … 187 188 shutil.copy(fromhere,tohere) 188 189 190 if os.path.exists(SASMODELS_SOURCE_MAGNETISM): 191 print "Found docs folder SASMODELS_SOURCE_MAGNETISM at ", SASMODELS_SOURCE_MAGNETISM 192 if os.path.exists(SASMODELS_DEST_REF_MODELS): 193 print "Found docs folder SASMODELS_DEST_REF_MODELS at ", SASMODELS_DEST_REF_MODELS 194 print "Copying sasmodels model toctree files..." 195 for files in os.listdir(SASMODELS_SOURCE_MAGNETISM): 196 if files.endswith(".rst"): 197 fromhere=os.path.join(SASMODELS_SOURCE_MAGNETISM,files) 198 tohere=os.path.join(SASMODELS_DEST_REF_MODELS,files) 199 shutil.copy(fromhere,tohere) 200 189 201 if os.path.exists(SASMODELS_SOURCE_REF_MODELS): 190 202 print "Found docs folder SASMODELS_SOURCE_REF_MODELS at ", SASMODELS_SOURCE_REF_MODELS
Note: See TracChangeset
for help on using the changeset viewer.