source: trunk/docs/docs_dev/source/conf.py

Last change on this file was 355, checked in by pinsard, 10 years ago

fix thanks to coding rules; typo; dupe empty lines

File size: 8.8 KB
Line 
1# -*- coding: iso-8859-1 -*-
2#+
3#
4# EVOLUTIONS
5# ==========
6#
7# $Id$
8#
9# $URL$
10#
11# - fplod 20120406
12#
13#   * add directories for python modules
14#   * add fptools intersphinx mapping
15#   * fix bug for using prolog.rst
16#
17#-
18# SUPERBIB documentation build configuration file, created by
19# sphinx-quickstart on Mon Feb 27 13:21:08 2012.
20#
21# This file is execfile()d with the current directory set to its containing dir.
22#
23# Note that not all possible configuration values are present in this
24# autogenerated file.
25#
26# All configuration values have a default; values that are commented out
27# serve to show the default.
28
29import sys, os
30
31# If extensions (or modules to document with autodoc) are in another directory,
32# add these directories to sys.path here. If the directory is relative to the
33# documentation root, use os.path.abspath to make it absolute, like shown here.
34#sys.path.insert(0, os.path.abspath('.'))
35
36#++sys.path.insert(0, os.path.abspath('../../../aeres/scripts/'))
37sys.path.insert(0, os.path.abspath('../../../superbib/'))
38
39# -- General configuration -----------------------------------------------------
40
41# If your documentation needs a minimal Sphinx version, state it here.
42#needs_sphinx = '1.0'
43
44# Add any Sphinx extension module names here, as strings. They can be extensions
45# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
46extensions = ['sphinx.ext.autodoc',
47 'sphinx.ext.doctest',
48 'sphinx.ext.intersphinx',
49 'sphinx.ext.todo',
50 'sphinx.ext.coverage',
51 'sphinx.ext.pngmath',
52 'sphinx.ext.ifconfig',
53 'sphinx.ext.graphviz',
54 'sphinx.ext.viewcode']
55
56# Add any paths that contain templates here, relative to this directory.
57templates_path = ['_templates']
58
59# The suffix of source filenames.
60source_suffix = '.rst'
61
62# The encoding of source files.
63source_encoding = 'iso-8859-15'
64
65# The master toctree document.
66master_doc = 'contents'
67
68# General information about the project.
69project = u'SUPERBIB'
70copyright = u'2012, fp'
71
72# The version info for the project you're documenting, acts as replacement for
73# |version| and |release|, also used in various other places throughout the
74# built documents.
75#
76# The short X.Y version.
77version = '2.0'
78# The full version, including alpha/beta/rc tags.
79release = '2.0'
80
81# The language for content autogenerated by Sphinx. Refer to documentation
82# for a list of supported languages.
83#language = None
84
85# There are two options for replacing |today|: either, you set today to some
86# non-false value, then it is used:
87#today = ''
88# Else, today_fmt is used as the format for a strftime call.
89#today_fmt = '%B %d, %Y'
90
91# List of patterns, relative to source directory, that match files and
92# directories to ignore when looking for source files.
93exclude_patterns = [ 'prolog.rst']
94
95# Included at the beginning of every source file that is read.
96with open('prolog.rst', 'r') as pr:
97    rst_prolog = pr.read()
98
99rst_prolog
100# The reST default role (used for this markup: `text`) to use for all documents.
101#default_role = None
102
103# If true, '()' will be appended to :func: etc. cross-reference text.
104#add_function_parentheses = True
105
106# If true, the current module name will be prepended to all description
107# unit titles (such as .. function::).
108#add_module_names = True
109
110# If true, sectionauthor and moduleauthor directives will be shown in the
111# output. They are ignored by default.
112#show_authors = False
113
114# The name of the Pygments (syntax highlighting) style to use.
115pygments_style = 'sphinx'
116
117# A list of ignored prefixes for module index sorting.
118#modindex_common_prefix = []
119
120# -- Options for HTML output ---------------------------------------------------
121
122# The theme to use for HTML and HTML Help pages. See the documentation for
123# a list of builtin themes.
124html_theme = 'sphinxdoc'
125
126# Theme options are theme-specific and customize the look and feel of a theme
127# further. For a list of options available for each theme, see the
128# documentation.
129#html_theme_options = {}
130
131# Add any paths that contain custom themes here, relative to this directory.
132#html_theme_path = []
133
134# The name for this set of Sphinx documents. If None, it defaults to
135# "<project> v<release> documentation".
136#html_title = None
137
138# A shorter title for the navigation bar. Default is the same as html_title.
139#html_short_title = None
140
141# The name of an image file (relative to this directory) to place at the top
142# of the sidebar.
143#html_logo = None
144
145# The name of an image file (within the static path) to use as favicon of the
146# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
147# pixels large.
148#html_favicon = None
149
150# Add any paths that contain custom static files (such as style sheets) here,
151# relative to this directory. They are copied after the builtin static files,
152# so a file named "default.css" will overwrite the builtin "default.css".
153html_static_path = ['_static']
154
155# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
156# using the given strftime format.
157#html_last_updated_fmt = '%b %d, %Y'
158
159# If true, SmartyPants will be used to convert quotes and dashes to
160# typographically correct entities.
161#html_use_smartypants = True
162
163# Custom sidebar templates, maps document names to template names.
164#html_sidebars = {}
165
166# Additional templates that should be rendered to pages, maps page names to
167# template names.
168html_additional_pages = {'index': 'index.html'}
169
170# If false, no module index is generated.
171html_domain_indices = True
172
173# If false, no index is generated.
174#html_use_index = True
175
176# If true, the index is split into individual pages for each letter.
177#html_split_index = False
178
179# If true, links to the reST sources are added to the pages.
180#html_show_sourcelink = True
181
182# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
183#html_show_sphinx = True
184
185# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
186#html_show_copyright = True
187
188# If true, an OpenSearch description file will be output, and all pages will
189# contain a <link> tag referring to it. The value of this option must be the
190# base URL from which the finished HTML is served.
191#html_use_opensearch = ''
192
193# This is the file name suffix for HTML files (e.g. ".xhtml").
194#html_file_suffix = None
195
196# Output file base name for HTML help builder.
197htmlhelp_basename = 'SUPERBIBdoc'
198
199# -- Options for LaTeX output --------------------------------------------------
200
201# The paper size ('letter' or 'a4').
202#latex_paper_size = 'letter'
203
204# The font size ('10pt', '11pt' or '12pt').
205#latex_font_size = '10pt'
206
207# Grouping the document tree into LaTeX files. List of tuples
208# (source start file, target name, title, author, documentclass [howto/manual]).
209latex_documents = [
210 ('contents', 'superbib_dev.tex', u'Superbib developers documentation', u'fp', 'manual'),
211]
212
213# The name of an image file (relative to this directory) to place at the top of
214# the title page.
215#latex_logo = None
216
217# For "manual" documents, if this is true, then toplevel headings are parts,
218# not chapters.
219#latex_use_parts = False
220
221# If true, show page references after internal links.
222#latex_show_pagerefs = False
223
224# If true, show URL addresses after external links.
225#latex_show_urls = False
226
227# Additional stuff for the LaTeX preamble.
228#latex_preamble = ''
229
230# Documents to append as an appendix to all manuals.
231#latex_appendices = []
232
233# If false, no module index is generated.
234latex_domain_indices = True
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', 'superbib', u'Superbib developers documentation',
242 [u'fp'], 1)
243]
244
245# -- Options for Epub output ---------------------------------------------------
246
247# Bibliographic Dublin Core info.
248epub_title = u'SUPERBIB'
249epub_author = u'fp'
250epub_publisher = u'fp'
251epub_copyright = u'2012, fp'
252
253# The language of the text. It defaults to the language option
254# or en if the language is not set.
255#epub_language = ''
256
257# The scheme of the identifier. Typical schemes are ISBN or URL.
258#epub_scheme = ''
259
260# The unique identifier of the text. This can be a ISBN number
261# or the project homepage.
262#epub_identifier = ''
263
264# A unique identification for the text.
265#epub_uid = ''
266
267# HTML files that should be inserted before the pages created by sphinx.
268# The format is a list of tuples containing the path and title.
269#epub_pre_files = []
270
271# HTML files that should be inserted after the pages created by sphinx.
272# The format is a list of tuples containing the path and title.
273#epub_post_files = []
274
275# A list of files that should not be packed into the epub file.
276#epub_exclude_files = []
277
278# The depth of the table of contents in toc.ncx.
279#epub_tocdepth = 3
280
281# Allow duplicate toc entries.
282#epub_tocdup = True
283
284# Example configuration for intersphinx: refer to the Python standard library.
285intersphinx_mapping = {'http://docs.python.org/': None,
286                       'fptools' : ('http://www.locean-ipsl.upmc.fr/~fplod/fptools/fptools_ws/doc/html/', None)}
Note: See TracBrowser for help on using the repository browser.