source: sasview/docs/sphinx-docs/source/conf.py @ 426996e

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 426996e was 426996e, checked in by Peter Parker, 9 years ago

Refs #221 - Don't need the extra paths.

  • Property mode set to 100644
File size: 9.0 KB
Line 
1# -*- coding: utf-8 -*-
2#
3# SasView documentation build configuration file, created by
4# sphinx-quickstart on Wed Aug 28 14:59:44 2013.
5#
6# This file is execfile()d with the current directory set to its containing dir.
7#
8# Note that not all possible configuration values are present in this
9# autogenerated file.
10#
11# All configuration values have a default; values that are commented out
12# serve to show the default.
13
14import sys, os, collections
15
16# If extensions (or modules to document with autodoc) are in another directory,
17# add these directories to sys.path here. If the directory is relative to the
18# documentation root, use os.path.abspath to make it absolute, like shown here.
19from distutils.util import get_platform
20platform = '.%s-%s'%(get_platform(),sys.version[:3])
21build_lib = os.path.abspath('../../../build/lib'+platform)
22sys.path.insert(0, build_lib)
23print "-- path --"
24print "\n".join(sys.path)
25
26# -- General configuration -----------------------------------------------------
27
28# If your documentation needs a minimal Sphinx version, state it here.
29#needs_sphinx = '1.0'
30
31# Add any Sphinx extension module names here, as strings. They can be extensions
32# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
33extensions = ['sphinx.ext.autodoc',
34              'sphinx.ext.todo',
35              'sphinx.ext.coverage',
36              'sphinx.ext.mathjax',
37              'sphinx.ext.viewcode']
38
39# Add any paths that contain templates here, relative to this directory.
40templates_path = ['_templates']
41
42# The suffix of source filenames.
43source_suffix = '.rst'
44
45# The encoding of source files.
46#source_encoding = 'utf-8-sig'
47
48# The master toctree document.
49master_doc = 'index'
50
51# General information about the project.
52project = u'SasView'
53copyright = u'2013, The SasView Project'
54
55# The version info for the project you're documenting, acts as replacement for
56# |version| and |release|, also used in various other places throughout the
57# built documents.
58#
59# The short X.Y version.
60version = '3.0.0'
61# The full version, including alpha/beta/rc tags.
62release = '3.0.0'
63
64# The language for content autogenerated by Sphinx. Refer to documentation
65# for a list of supported languages.
66#language = None
67
68# There are two options for replacing |today|: either, you set today to some
69# non-false value, then it is used:
70#today = ''
71# Else, today_fmt is used as the format for a strftime call.
72#today_fmt = '%B %d, %Y'
73
74# List of patterns, relative to source directory, that match files and
75# directories to ignore when looking for source files.
76#
77# PGP 2014/04/03: We have some code which doesn't get carried over to
78# the build directory.  Exclude the appropriate *.rst files here so
79# that we don't get various "ImportError: No module named ___" when
80# running Sphinx.
81exclude_patterns = ["*sans.perspectives.simulation.rst",
82                    "*sans.pr.c_extensions.rst",
83                    "*sans.realspace.rst",
84                    "*sans.simulation.rst",]
85
86# The reST default role (used for this markup: `text`) to use for all documents.
87#default_role = None
88
89# If true, '()' will be appended to :func: etc. cross-reference text.
90#add_function_parentheses = True
91
92# If true, the current module name will be prepended to all description
93# unit titles (such as .. function::).
94#add_module_names = True
95
96# If true, sectionauthor and moduleauthor directives will be shown in the
97# output. They are ignored by default.
98#show_authors = False
99
100# The name of the Pygments (syntax highlighting) style to use.
101pygments_style = 'sphinx'
102
103# A list of ignored prefixes for module index sorting.
104#modindex_common_prefix = []
105
106# If true, keep warnings as "system message" paragraphs in the built documents.
107#keep_warnings = False
108
109
110# -- Options for HTML output ---------------------------------------------------
111
112# The theme to use for HTML and HTML Help pages.  See the documentation for
113# a list of builtin themes.
114html_theme = 'default'
115
116# Theme options are theme-specific and customize the look and feel of a theme
117# further.  For a list of options available for each theme, see the
118# documentation.
119#html_theme_options = {}
120
121# Add any paths that contain custom themes here, relative to this directory.
122#html_theme_path = []
123
124# The name for this set of Sphinx documents.  If None, it defaults to
125# "<project> v<release> documentation".
126#html_title = None
127
128# A shorter title for the navigation bar.  Default is the same as html_title.
129#html_short_title = None
130
131# The name of an image file (relative to this directory) to place at the top
132# of the sidebar.
133#html_logo = None
134
135# The name of an image file (within the static path) to use as favicon of the
136# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
137# pixels large.
138#html_favicon = None
139
140# Add any paths that contain custom static files (such as style sheets) here,
141# relative to this directory. They are copied after the builtin static files,
142# so a file named "default.css" will overwrite the builtin "default.css".
143html_static_path = ['_static']
144
145# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
146# using the given strftime format.
147#html_last_updated_fmt = '%b %d, %Y'
148
149# If true, SmartyPants will be used to convert quotes and dashes to
150# typographically correct entities.
151#html_use_smartypants = True
152
153# Custom sidebar templates, maps document names to template names.
154#html_sidebars = {}
155
156# Additional templates that should be rendered to pages, maps page names to
157# template names.
158#html_additional_pages = {}
159
160# If false, no module index is generated.
161#html_domain_indices = True
162
163# If false, no index is generated.
164#html_use_index = True
165
166# If true, the index is split into individual pages for each letter.
167#html_split_index = False
168
169# If true, links to the reST sources are added to the pages.
170#html_show_sourcelink = True
171
172# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
173#html_show_sphinx = True
174
175# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
176#html_show_copyright = True
177
178# If true, an OpenSearch description file will be output, and all pages will
179# contain a <link> tag referring to it.  The value of this option must be the
180# base URL from which the finished HTML is served.
181#html_use_opensearch = ''
182
183# This is the file name suffix for HTML files (e.g. ".xhtml").
184#html_file_suffix = None
185
186# Output file base name for HTML help builder.
187htmlhelp_basename = 'SasViewdoc'
188
189# Turn off permalinks, which are a nice feature for the docs when viewed in a
190# browser, but which look weird (and cannot be "right-click->copy url") in
191# the SasView help.
192html_add_permalinks = ""
193
194
195# -- Options for LaTeX output --------------------------------------------------
196
197latex_elements = {
198# The paper size ('letterpaper' or 'a4paper').
199#'papersize': 'letterpaper',
200
201# The font size ('10pt', '11pt' or '12pt').
202#'pointsize': '10pt',
203
204# Additional stuff for the LaTeX preamble.
205#'preamble': '',
206}
207
208# Grouping the document tree into LaTeX files. List of tuples
209# (source start file, target name, title, author, documentclass [howto/manual]).
210latex_documents = [
211  ('index', 'SasView.tex', u'SasView Documentation',
212   u'The SasView Project', 'manual'),
213]
214
215# The name of an image file (relative to this directory) to place at the top of
216# the title page.
217#latex_logo = None
218
219# For "manual" documents, if this is true, then toplevel headings are parts,
220# not chapters.
221#latex_use_parts = False
222
223# If true, show page references after internal links.
224#latex_show_pagerefs = False
225
226# If true, show URL addresses after external links.
227#latex_show_urls = False
228
229# Documents to append as an appendix to all manuals.
230#latex_appendices = []
231
232# If false, no module index is generated.
233#latex_domain_indices = True
234
235
236# -- Options for manual page output --------------------------------------------
237
238# One entry per manual page. List of tuples
239# (source start file, name, description, authors, manual section).
240man_pages = [
241    ('index', 'sasview', u'SasView Documentation',
242     [u'The SasView Project'], 1)
243]
244
245# If true, show URL addresses after external links.
246#man_show_urls = False
247
248
249# -- Options for Texinfo output ------------------------------------------------
250
251# Grouping the document tree into Texinfo files. List of tuples
252# (source start file, target name, title, author,
253#  dir menu entry, description, category)
254texinfo_documents = [
255  ('index', 'SasView', u'SasView Documentation',
256   u'The SasView Project', 'SasView', 'One line description of project.',
257   'Miscellaneous'),
258]
259
260# Documents to append as an appendix to all manuals.
261#texinfo_appendices = []
262
263# If false, no module index is generated.
264#texinfo_domain_indices = True
265
266# How to display URL addresses: 'footnote', 'no', or 'inline'.
267#texinfo_show_urls = 'footnote'
268
269# If true, do not generate a @detailmenu in the "Top" node's menu.
270#texinfo_no_detailmenu = False
Note: See TracBrowser for help on using the repository browser.