source: trunk/adm/website/conf.py @ 204

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

fix thanks to coding rules; typo

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