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

Last change on this file since 147 was 141, checked in by pinsard, 12 years ago

fix addition for update papers and improv. in build doc

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