Changeset 3586bd1 in sasview for docs/sphinx-docs/source


Ignore:
Timestamp:
Apr 28, 2014 6:44:05 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:
7b0c930
Parents:
f54e9c61
Message:

Also revert doc source folder to pre-code-camp.

Location:
docs/sphinx-docs/source
Files:
2 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • docs/sphinx-docs/source/conf.py

    r9e78edb r3586bd1  
    1212# serve to show the default. 
    1313 
    14 import sys, os, collections 
     14import sys, os 
    1515 
    1616# If extensions (or modules to document with autodoc) are in another directory, 
    1717# add these directories to sys.path here. If the directory is relative to the 
    1818# documentation root, use os.path.abspath to make it absolute, like shown here. 
    19 from distutils.util import get_platform 
    20 platform = '.%s-%s'%(get_platform(),sys.version[:3]) 
    21 build_lib = os.path.abspath('../../../build/lib'+platform) 
    22 sys.path.insert(0, build_lib) 
    23 print "-- path --" 
    24 print "\n".join(sys.path) 
    25 import sans.sansview 
    26 from sans.sansview import __version__ as sasview_version 
    27 print "version:",sasview_version 
     19sys.path.insert(0, os.path.abspath('../../src')) 
    2820 
    2921# -- General configuration ----------------------------------------------------- 
     
    3426# Add any Sphinx extension module names here, as strings. They can be extensions 
    3527# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. 
    36 extensions = ['sphinx.ext.autodoc', 
    37               'sphinx.ext.todo', 
    38               'sphinx.ext.coverage', 
    39               'sphinx.ext.mathjax', 
    40               'sphinx.ext.viewcode'] 
     28extensions = ['sphinx.ext.autodoc', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.mathjax', 'sphinx.ext.viewcode'] 
    4129 
    4230# Add any paths that contain templates here, relative to this directory. 
     
    7765# List of patterns, relative to source directory, that match files and 
    7866# directories to ignore when looking for source files. 
    79 # 
    80 # PGP 2014/04/03: We have some code which doesn't get carried over to 
    81 # the build directory.  Exclude the appropriate *.rst files here so 
    82 # that we don't get various "ImportError: No module named ___" when 
    83 # running Sphinx. 
    84 exclude_patterns = ["*sans.perspectives.simulation.rst", 
    85                     "*sans.pr.c_extensions.rst", 
    86                     "*sans.realspace.rst", 
    87                     "*sans.simulation.rst",] 
     67exclude_patterns = [] 
    8868 
    8969# The reST default role (used for this markup: `text`) to use for all documents. 
     
    189169# Output file base name for HTML help builder. 
    190170htmlhelp_basename = 'SasViewdoc' 
    191  
    192 # Turn off permalinks, which are a nice feature for the docs when viewed in a 
    193 # browser, but which look weird (and cannot be "right-click->copy url") in 
    194 # the SasView help. 
    195 html_add_permalinks = "" 
    196171 
    197172 
  • docs/sphinx-docs/source/index.rst

    ra40a875 r3586bd1  
    44   contain the root `toctree` directive. 
    55 
    6 SasView Documentation 
     6SasView documentation 
    77===================== 
    88 
     9Contents: 
     10 
    911.. toctree:: 
    10    :maxdepth: 1 
     12   :maxdepth: 2 
    1113 
    12    User Documentation <user/user> 
    1314 
    14    Developer Documentation <dev/dev> 
     15 
     16Indices and tables 
     17================== 
     18 
     19* :ref:`genindex` 
     20* :ref:`modindex` 
     21* :ref:`search` 
     22 
Note: See TracChangeset for help on using the changeset viewer.