source: sasview/docs/sphinx-docs/source/conf.py @ 2e5ca08

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 2e5ca08 was 33d2a3a, checked in by butler, 10 years ago

fix SasView? version number and copyright date in Sphinx Docs to 3.1.0
and 2015 respectively

  • Property mode set to 100644
File size: 9.2 KB
RevLine 
[9dfb1f9]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)
[eff1ad80]23print "-- path --"
24print "\n".join(sys.path)
[9dfb1f9]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'
[33d2a3a]53copyright = u'2015, The SasView Project'
[9dfb1f9]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.
[33d2a3a]60version = '3.1.0'
[9dfb1f9]61# The full version, including alpha/beta/rc tags.
[33d2a3a]62release = '3.1.0'
[9dfb1f9]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.
[3a39c2e]81exclude_patterns = ["*sas.perspectives.simulation.rst",
82                    "*sas.pr.c_extensions.rst",
83                    "*sas.realspace.rst",
84                    "*sas.simulation.rst",
85                    "*sas.sasview.setup_exe.rst",
86                    "*sas.sasview.setup_mac.rst",
87                    "*sas.guiframe.custom_pstats.rst", # pstats not in standard library on Ubuntu out of the box
[e27d71b]88                    ]
[9dfb1f9]89
90# The reST default role (used for this markup: `text`) to use for all documents.
91#default_role = None
92
93# If true, '()' will be appended to :func: etc. cross-reference text.
94#add_function_parentheses = True
95
96# If true, the current module name will be prepended to all description
97# unit titles (such as .. function::).
98#add_module_names = True
99
100# If true, sectionauthor and moduleauthor directives will be shown in the
101# output. They are ignored by default.
102#show_authors = False
103
104# The name of the Pygments (syntax highlighting) style to use.
105pygments_style = 'sphinx'
106
107# A list of ignored prefixes for module index sorting.
108#modindex_common_prefix = []
109
110# If true, keep warnings as "system message" paragraphs in the built documents.
111#keep_warnings = False
112
113
114# -- Options for HTML output ---------------------------------------------------
115
116# The theme to use for HTML and HTML Help pages.  See the documentation for
117# a list of builtin themes.
118html_theme = 'default'
119
120# Theme options are theme-specific and customize the look and feel of a theme
121# further.  For a list of options available for each theme, see the
122# documentation.
123#html_theme_options = {}
124
125# Add any paths that contain custom themes here, relative to this directory.
126#html_theme_path = []
127
128# The name for this set of Sphinx documents.  If None, it defaults to
129# "<project> v<release> documentation".
130#html_title = None
131
132# A shorter title for the navigation bar.  Default is the same as html_title.
133#html_short_title = None
134
135# The name of an image file (relative to this directory) to place at the top
136# of the sidebar.
137#html_logo = None
138
139# The name of an image file (within the static path) to use as favicon of the
140# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
141# pixels large.
142#html_favicon = None
143
144# Add any paths that contain custom static files (such as style sheets) here,
145# relative to this directory. They are copied after the builtin static files,
146# so a file named "default.css" will overwrite the builtin "default.css".
147html_static_path = ['_static']
148
149# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
150# using the given strftime format.
151#html_last_updated_fmt = '%b %d, %Y'
152
153# If true, SmartyPants will be used to convert quotes and dashes to
154# typographically correct entities.
155#html_use_smartypants = True
156
157# Custom sidebar templates, maps document names to template names.
158#html_sidebars = {}
159
160# Additional templates that should be rendered to pages, maps page names to
161# template names.
162#html_additional_pages = {}
163
164# If false, no module index is generated.
165#html_domain_indices = True
166
167# If false, no index is generated.
168#html_use_index = True
169
170# If true, the index is split into individual pages for each letter.
171#html_split_index = False
172
173# If true, links to the reST sources are added to the pages.
174#html_show_sourcelink = True
175
176# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
177#html_show_sphinx = True
178
179# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
180#html_show_copyright = True
181
182# If true, an OpenSearch description file will be output, and all pages will
183# contain a <link> tag referring to it.  The value of this option must be the
184# base URL from which the finished HTML is served.
185#html_use_opensearch = ''
186
187# This is the file name suffix for HTML files (e.g. ".xhtml").
188#html_file_suffix = None
189
190# Output file base name for HTML help builder.
191htmlhelp_basename = 'SasViewdoc'
192
193# Turn off permalinks, which are a nice feature for the docs when viewed in a
194# browser, but which look weird (and cannot be "right-click->copy url") in
195# the SasView help.
196html_add_permalinks = ""
197
198
199# -- Options for LaTeX output --------------------------------------------------
200
201latex_elements = {
202# The paper size ('letterpaper' or 'a4paper').
203#'papersize': 'letterpaper',
204
205# The font size ('10pt', '11pt' or '12pt').
206#'pointsize': '10pt',
207
208# Additional stuff for the LaTeX preamble.
209#'preamble': '',
210}
211
212# Grouping the document tree into LaTeX files. List of tuples
213# (source start file, target name, title, author, documentclass [howto/manual]).
214latex_documents = [
215  ('index', 'SasView.tex', u'SasView Documentation',
216   u'The SasView Project', 'manual'),
217]
218
219# The name of an image file (relative to this directory) to place at the top of
220# the title page.
221#latex_logo = None
222
223# For "manual" documents, if this is true, then toplevel headings are parts,
224# not chapters.
225#latex_use_parts = False
226
227# If true, show page references after internal links.
228#latex_show_pagerefs = False
229
230# If true, show URL addresses after external links.
231#latex_show_urls = False
232
233# Documents to append as an appendix to all manuals.
234#latex_appendices = []
235
236# If false, no module index is generated.
237#latex_domain_indices = True
238
239
240# -- Options for manual page output --------------------------------------------
241
242# One entry per manual page. List of tuples
243# (source start file, name, description, authors, manual section).
244man_pages = [
245    ('index', 'sasview', u'SasView Documentation',
246     [u'The SasView Project'], 1)
247]
248
249# If true, show URL addresses after external links.
250#man_show_urls = False
251
252
253# -- Options for Texinfo output ------------------------------------------------
254
255# Grouping the document tree into Texinfo files. List of tuples
256# (source start file, target name, title, author,
257#  dir menu entry, description, category)
258texinfo_documents = [
259  ('index', 'SasView', u'SasView Documentation',
260   u'The SasView Project', 'SasView', 'One line description of project.',
261   'Miscellaneous'),
262]
263
264# Documents to append as an appendix to all manuals.
265#texinfo_appendices = []
266
267# If false, no module index is generated.
268#texinfo_domain_indices = True
269
270# How to display URL addresses: 'footnote', 'no', or 'inline'.
271#texinfo_show_urls = 'footnote'
272
273# If true, do not generate a @detailmenu in the "Top" node's menu.
274#texinfo_no_detailmenu = False
Note: See TracBrowser for help on using the repository browser.