source: sasview/sphinx-docs/generate_docs.py @ c7e12b6

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since c7e12b6 was c7e12b6, checked in by Mathieu Doucet <doucetm@…>, 12 years ago

clean up

  • Property mode set to 100644
File size: 745 bytes
Line 
1import os
2cwd = os.getcwd()
3for d in os.listdir('.'):
4    sphinx_dir = os.path.join(d, 'docs', 'sphinx')
5    if os.path.isdir(sphinx_dir) and sphinx_dir.find("calculator")<0:
6        print sphinx_dir
7        #os.chdir(sphinx_dir)
8        #os.system("cd %s; make stubs; cd %s" % (sphinx_dir, cwd))
9        #print "DONE"
10       
11module_list = ["fittingview", "invariantview", "inversionview",
12               "park_integration", "calculatorview", "plottools",
13               "pr_inversion", "sanscalculator", "sansdataloader",
14               "sansguiframe", "sansinvariant", "sansmodels"]
15
16for m in module_list:
17    sphinx_dir = "../%s/docs/sphinx" % m
18    os.system("cd %s; python genmods.py; cd %s" % (sphinx_dir, cwd))
19os.system("make html")   
Note: See TracBrowser for help on using the repository browser.