root/trunk/doc/sphinx/source/conf.py @ 15828

Revision 15828, 7.3 KB (checked in by coissac, 13 months ago)

Setup the documentation for the new version 0.2.400 of obitools

Line 
1# -*- coding: utf-8 -*-
2#
3# OBITools documentation build configuration file, created by
4# sphinx-quickstart on Tue Dec  8 21:30:02 2009.
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
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.
19#sys.path.append(os.path.abspath('.'))
20
21sys.path.insert(0, os.path.abspath('../../../build/lib.macosx-10.6-intel-2.7'))
22sys.path.insert(0, os.path.abspath('../../../build/raw_scripts'))
23sys.path.insert(0, os.path.abspath('../sphinxext'))
24
25# Add any Sphinx extension module names here, as strings. They can
26# be extensions coming with Sphinx (named 'sphinx.ext.*') or your
27# custom ones.
28
29# -- General configuration -----------------------------------------------------
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', 'sphinx.ext.todo',
34              'sphinx.ext.coverage', 'sphinx.ext.viewcode',
35              'sphinx.ext.graphviz', 'sphinx.ext.inheritance_diagram',
36              'sphinx.ext.pngmath',
37#              'matplotlib.sphinxext.mathmpl',
38#              'matplotlib.sphinxext.only_directives',
39#              'matplotlib.sphinxext.plot_directive',
40#              'matplotlib.sphinxext.ipython_directive',
41              'sphinx.ext.doctest',
42              'ipython_console_highlighting',
43              'numpydoc']
44
45# Add any paths that contain templates here, relative to this directory.
46templates_path = ['_templates']
47
48# The suffix of source filenames.
49source_suffix = '.rst'
50
51# The encoding of source files.
52#source_encoding = 'utf-8'
53
54# The master toctree document.
55master_doc = 'index'
56
57# General information about the project.
58project = u'OBITools'
59copyright = u'2009 - 2011, Eric Coissac'
60
61# The version info for the project you're documenting, acts as replacement for
62# |version| and |release|, also used in various other places throughout the
63# built documents.
64#
65# The short X.Y version.
66version = '0.2.400'
67# The full version, including alpha/beta/rc tags.
68release = '0.2.400'
69
70# The language for content autogenerated by Sphinx. Refer to documentation
71# for a list of supported languages.
72#language = None
73
74# There are two options for replacing |today|: either, you set today to some
75# non-false value, then it is used:
76#today = ''
77# Else, today_fmt is used as the format for a strftime call.
78#today_fmt = '%B %d, %Y'
79
80# List of documents that shouldn't be included in the build.
81#unused_docs = []
82
83# List of directories, relative to source directory, that shouldn't be searched
84# for source files.
85exclude_trees = []
86
87# The reST default role (used for this markup: `text`) to use for all documents.
88#default_role = None
89
90# If true, '()' will be appended to :func: etc. cross-reference text.
91#add_function_parentheses = True
92
93# If true, the current module name will be prepended to all description
94# unit titles (such as .. function::).
95#add_module_names = True
96
97# If true, sectionauthor and moduleauthor directives will be shown in the
98# output. They are ignored by default.
99#show_authors = False
100
101# The name of the Pygments (syntax highlighting) style to use.
102pygments_style = 'sphinx'
103
104# A list of ignored prefixes for module index sorting.
105#modindex_common_prefix = ['obitools.']
106
107
108# -- Options for HTML output ---------------------------------------------------
109
110# The theme to use for HTML and HTML Help pages.  See the documentation for
111# a list of builtin themes.
112html_theme = 'nature'
113
114# Theme options are theme-specific and customize the look and feel of a theme
115# further.  For a list of options available for each theme, see the
116# documentation.
117#html_theme_options = {}
118
119# Add any paths that contain custom themes here, relative to this directory.
120#html_theme_path = []
121
122# The name for this set of Sphinx documents.  If None, it defaults to
123# "<project> v<release> documentation".
124#html_title = None
125
126# A shorter title for the navigation bar.  Default is the same as html_title.
127#html_short_title = None
128
129# The name of an image file (relative to this directory) to place at the top
130# of the sidebar.
131#html_logo = None
132
133# The name of an image file (within the static path) to use as favicon of the
134# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
135# pixels large.
136#html_favicon = None
137
138# Add any paths that contain custom static files (such as style sheets) here,
139# relative to this directory. They are copied after the builtin static files,
140# so a file named "default.css" will overwrite the builtin "default.css".
141html_static_path = ['_static']
142
143# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
144# using the given strftime format.
145#html_last_updated_fmt = '%b %d, %Y'
146
147# If true, SmartyPants will be used to convert quotes and dashes to
148# typographically correct entities.
149#html_use_smartypants = True
150
151# Custom sidebar templates, maps document names to template names.
152#html_sidebars = {}
153
154# Additional templates that should be rendered to pages, maps page names to
155# template names.
156#html_additional_pages = {}
157
158# If false, no module index is generated.
159#html_use_modindex = True
160
161# If false, no index is generated.
162#html_use_index = True
163
164# If true, the index is split into individual pages for each letter.
165#html_split_index = False
166
167# If true, links to the reST sources are added to the pages.
168#html_show_sourcelink = True
169
170# If true, an OpenSearch description file will be output, and all pages will
171# contain a <link> tag referring to it.  The value of this option must be the
172# base URL from which the finished HTML is served.
173#html_use_opensearch = ''
174
175# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
176#html_file_suffix = ''
177
178# Output file base name for HTML help builder.
179htmlhelp_basename = 'OBIToolsdoc'
180
181
182# -- Options for LaTeX output --------------------------------------------------
183
184# The paper size ('letter' or 'a4').
185#latex_paper_size = 'letter'
186
187# The font size ('10pt', '11pt' or '12pt').
188#latex_font_size = '10pt'
189
190# Grouping the document tree into LaTeX files. List of tuples
191# (source start file, target name, title, author, documentclass [howto/manual]).
192latex_documents = [
193  ('index', 'OBITools.tex', u'OBITools Documentation',
194   u'Eric Coissac', 'manual'),
195]
196
197# The name of an image file (relative to this directory) to place at the top of
198# the title page.
199#latex_logo = None
200
201# For "manual" documents, if this is true, then toplevel headings are parts,
202# not chapters.
203#latex_use_parts = False
204
205# Additional stuff for the LaTeX preamble.
206#latex_preamble = ''
207
208# Documents to append as an appendix to all manuals.
209#latex_appendices = []
210
211# If false, no module index is generated.
212#latex_use_modindex = True
213
214autoclass_content="both"
215
216inheritance_graph_attrs = dict(rankdir="TB", size='"5.0, 6.0"',
217                               fontsize=12, ratio='compress')
218
219inheritance_node_attrs = dict(fontsize=12, height=0.5,
220                              color='dodgerblue1', style='filled')
Note: See TracBrowser for help on using the browser.