Changeset 968aa6e in sasview


Ignore:
Timestamp:
Apr 5, 2014 6:15:35 AM (11 years ago)
Author:
Peter Parker
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:
f44b076
Parents:
a40a875
Message:

Refs #202 - allow use of Total number of model wrappers created is 62
running docs

Cleaning Sphinx Build

Removing "c:\Users\stv04463\Development\SasView?\SVN\docs\sphinx-docs\build"…

Retrieve User Docs

Found docs folder at "c:\Users\stv04463\Development\SasView?\SVN\src\sans\models\docs".
creating c:\Users\stv04463\Development\SasView?\SVN\docs\sphinx-docs\source\user\models
copying c:\Users\stv04463\Development\SasView?\SVN\src\sans\models\docs\model_functions.rst → c:\Users\stv04463\Development\SasView?\SVN\docs\sphinx-docs\source\user\models

Generate API Rest Files === to build docs with Sphinx.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • setup.py

    r27b7acc r968aa6e  
    77from setuptools import setup, Extension 
    88from distutils.command.build_ext import build_ext 
     9from distutils.core import Command 
     10 
     11sys.path.append("docs/sphinx-docs") 
     12import build_sphinx 
    913 
    1014try: 
     
    129133 
    130134        build_ext.build_extensions(self) 
     135 
     136class BuildSphinxCommand(Command): 
     137    description = "Build Sphinx documentation." 
     138    user_options = [] 
     139 
     140    def initialize_options(self): 
     141        self.cwd = None 
     142 
     143    def finalize_options(self): 
     144        self.cwd = os.getcwd() 
     145 
     146    def run(self):         
     147        build_sphinx.clean() 
     148        build_sphinx.retrieve_user_docs() 
     149        build_sphinx.apidoc() 
     150        build_sphinx.build() 
    131151 
    132152# sans module 
     
    356376                                       ] 
    357377                    }, 
    358     cmdclass = {'build_ext': build_ext_subclass } 
     378    cmdclass = {'build_ext': build_ext_subclass, 
     379                'docs': BuildSphinxCommand} 
    359380    )    
Note: See TracChangeset for help on using the changeset viewer.