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

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

correction for doc

File size: 10.2 KB
Line 
1# -*- coding: utf-8 -*-
2#
3# VARAMMA documentation build configuration file, created by
4# sphinx-quickstart on Wed Mar 24 16:54:51 2010.
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#+
14#
15# TODO
16# ====
17#
18# - fplod 20100618T151933Z aedon.locean-ipsl.upmc.fr (Darwin)
19#
20#   * find a way to produce olr_split.sh.1 even if graphviz inside source
21#   * find a way to avoid hard coded man pages name here (should be in
22#     adm/makefile)
23#   * use a specific index.rst for man troff
24#
25# - fplod 20100610T135910Z aedon.locean-ipsl.upmc.fr (Darwin)
26#
27#   * how to detected "Deprecated" sphinx features (this file was created
28#     using sphinx 0.6.5 or less
29#
30# EVOLUTIONS
31# ==========
32#
33# $Id$
34#
35# - fplod 20110610T075315Z aedon.locean-ipsl.upmc.fr (Darwin)
36#
37#   * graphviz attributes (cf. http://sphinx.pocoo.org/ext/inheritance.html#confval-inheritance_graph_attrs)
38#
39# - fplod 20101217T163402Z aedon.locean-ipsl.upmc.fr (Darwin)
40#
41#   * intersphinx with saxo
42#     cf. http://sphinx.pocoo.org/ext/intersphinx.html
43#
44# - fplod 20100618T151856Z aedon.locean-ipsl.upmc.fr (Darwin)
45#
46#   * produce man page for almost all shell scripts
47#
48# - fplod 20100610T123554Z aedon.locean-ipsl.upmc.fr (Darwin)
49#
50#   * add Options for manual page output (Sphinx 1.0 required)
51#
52# - fplod 20100608T151729Z aedon.locean-ipsl.upmc.fr (Darwin)
53#
54#   * add graphviz extension (Sphinx 0.6.6 required)
55#
56#-
57
58import sys, os
59
60# If extensions (or modules to document with autodoc) are in another directory,
61# add these directories to sys.path here. If the directory is relative to the
62# documentation root, use os.path.abspath to make it absolute, like shown here.
63#sys.path.insert(0, os.path.abspath('.'))
64sys.path.insert(0, os.path.abspath('../../../src/'))
65
66# -- General configuration -----------------------------------------------------
67
68# Add any Sphinx extension module names here, as strings. They can be extensions
69# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
70#extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.pngmath', 'sphinx.ext.ifconfig']
71extensions = ['sphinx.ext.autodoc',
72              'sphinx.ext.doctest',
73              'sphinx.ext.todo',
74              'sphinx.ext.intersphinx',
75              'sphinx.ext.coverage',
76              'sphinx.ext.pngmath',
77              'sphinx.ext.ifconfig',
78              'sphinx.ext.viewcode',
79              'sphinx.ext.graphviz',
80              'sphinx.ext.inheritance_diagram' ]
81
82# Add any paths that contain templates here, relative to this directory.
83templates_path = ['_templates']
84
85# The suffix of source filenames.
86source_suffix = '.rst'
87
88# The encoding of source files.
89source_encoding = 'iso-8859-15'
90
91# The master toctree document.
92master_doc = 'index'
93
94# General information about the project.
95project = u'VARAMMA'
96copyright = u'2008, 2009, 2010, 2011, 2012, CNRS'
97
98# The version info for the project you're documenting, acts as replacement for
99# |version| and |release|, also used in various other places throughout the
100# built documents.
101#
102# The short X.Y version.
103version = '1.0.0'
104# The full version, including alpha/beta/rc tags.
105release = '1.0.0'
106
107# The language for content autogenerated by Sphinx. Refer to documentation
108# for a list of supported languages.
109#language = None
110
111# There are two options for replacing |today|: either, you set today to some
112# non-false value, then it is used:
113#today = ''
114# Else, today_fmt is used as the format for a strftime call.
115#today_fmt = '%Y%m%d'
116
117# List of directories, relative to source directory, that shouldn't be searched
118# for source files.
119exclude_patterns = ['_build']
120
121# The reST default role (used for this markup: `text`) to use for all documents.
122#default_role = None
123
124# If true, '()' will be appended to :func: etc. cross-reference text.
125#add_function_parentheses = True
126
127# If true, the current module name will be prepended to all description
128# unit titles (such as .. function::).
129add_module_names = True
130
131# If true, sectionauthor and moduleauthor directives will be shown in the
132# output. They are ignored by default.
133#show_authors = False
134
135# The name of the Pygments (syntax highlighting) style to use.
136pygments_style = 'sphinx'
137
138# A list of ignored prefixes for module index sorting.
139#modindex_common_prefix = []
140
141todo_include_todos = True
142
143# graphviz attributes
144inheritance_graph_attrs = dict(rankdir="LR", size='"6.0, 8.0"',
145                               fontsize=14, ratio='compress')
146
147# Warn about all references where the target cannot be found.
148nitpicky = True
149
150# -- Options for HTML output ---------------------------------------------------
151
152# The theme to use for HTML and HTML Help pages.  Major themes that come with
153# Sphinx are currently 'default' and 'sphinxdoc'.
154html_theme = 'default'
155
156# Theme options are theme-specific and customize the look and feel of a theme
157# further.  For a list of options available for each theme, see the
158# documentation.
159#html_theme_options = {}
160
161# Add any paths that contain custom themes here, relative to this directory.
162#html_theme_path = []
163
164# The name for this set of Sphinx documents.  If None, it defaults to
165# "<project> v<release> documentation".
166#html_title = None
167
168# A shorter title for the navigation bar.  Default is the same as html_title.
169#html_short_title = None
170
171# The name of an image file (relative to this directory) to place at the top
172# of the sidebar.
173#html_logo = None
174
175# The name of an image file (within the static path) to use as favicon of the
176# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
177# pixels large.
178#html_favicon = None
179
180# Add any paths that contain custom static files (such as style sheets) here,
181# relative to this directory. They are copied after the builtin static files,
182# so a file named "default.css" will overwrite the builtin "default.css".
183html_static_path = ['_static']
184
185# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
186# using the given strftime format.
187#html_last_updated_fmt = '%b %d, %Y'
188
189# If true, SmartyPants will be used to convert quotes and dashes to
190# typographically correct entities.
191#html_use_smartypants = True
192
193# Custom sidebar templates, maps document names to template names.
194#html_sidebars = {}
195
196# Additional templates that should be rendered to pages, maps page names to
197# template names.
198#html_additional_pages = {}
199
200# If false, no module index is generated.
201#html_domain_indices = True
202
203# If false, no index is generated.
204#html_use_index = True
205
206# If true, the index is split into individual pages for each letter.
207#html_split_index = False
208
209# If true, links to the reST sources are added to the pages.
210#html_show_sourcelink = True
211
212#html_show_sphinx = True
213#html_show_copyright = True
214
215# If true, an OpenSearch description file will be output, and all pages will
216# contain a <link> tag referring to it.  The value of this option must be the
217# base URL from which the finished HTML is served.
218#html_use_opensearch = ''
219
220# If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
221#html_file_suffix = ''
222
223# Output file base name for HTML help builder.
224htmlhelp_basename = 'VARAMMAdoc'
225
226
227# -- Options for LaTeX output --------------------------------------------------
228
229# The paper size ('letter' or 'a4').
230#latex_paper_size = 'letter'
231
232# The font size ('10pt', '11pt' or '12pt').
233#latex_font_size = '10pt'
234
235# Grouping the document tree into LaTeX files. List of tuples
236# (source start file, target name, title, author, documentclass [howto/manual]).
237latex_documents = [
238  ('index', 'varamma_dev.tex', u'VARAMMA developpers documentation',
239   u'CNRS', 'manual'),
240]
241
242# The name of an image file (relative to this directory) to place at the top of
243# the title page.
244#latex_logo = None
245
246# For "manual" documents, if this is true, then toplevel headings are parts,
247# not chapters.
248#latex_use_parts = False
249
250# Additional stuff for the LaTeX preamble.
251#latex_preamble = ''
252
253# Documents to append as an appendix to all manuals.
254#latex_appendices = []
255
256# If false, no module index is generated.
257#latex_domain_indices = True
258
259
260# -- Options for manual page output --------------------------------------------
261
262# One entry per manual page. List of tuples
263# (source start file, name, description, authors, manual section).
264man_pages = [
265    ('index', project, u'VARAMMA developpers documentation', [u'fp'], 1),
266    ('cat_clim_ecmwf.sh', 'cat_clim_ecmwf.sh', u'cat_clim_ecmwf.sh Documentation', [u'fp'], 1),
267    ('cat_clim_olr.sh', 'cat_clim_olr.sh', u'cat_clim_olr.sh Documentation', [u'fp'], 1),
268    ('create_gif.sh', 'create_gif.sh', u'create_gif.sh Documentation', [u'fp'], 1),
269    ('concat-files.sh', 'concat-files.sh', u'concat-files.sh Documentation', [u'fp'], 1),
270    ('create_nc.sh', 'create_nc.sh', u'create_nc.sh Documentation', [u'fp'], 1),
271    ('dlogd.sh', 'dlogd.sh', u'dlogd.sh Documentation', [u'fp'], 1),
272    ('elogd.sh', 'elogd.sh', u'elogd.sh Documentation', [u'fp'], 1),
273    ('plogd.sh', 'plogd.sh', u'plogd.sh Documentation', [u'fp'], 1),
274    ('tlogd.sh', 'tlogd.sh', u'tlogd.sh Documentation', [u'fp'], 1),
275    ('is_leap_year.sh', 'is_leap_year.sh', u'is_leap_year.sh Documentation', [u'fp'], 1),
276    ('olr_split.sh', 'olr_split.sh', u'olr_split.sh Documentation', [u'fp'], 1),
277    ('paper01_pre.sh', 'paper01_pre.sh', u'paper01_pre.sh Documentation', [u'fp'], 1),
278    ('traite_amsuab.sh', 'traite_amsuab.sh', u'traite_amsuab.sh Documentation', [u'fp'], 1),
279    ('traite_msg-prod.sh', 'traite_msg-prod.sh', u'traite_msg-prod.sh Documentation', [u'fp'], 1),
280    ('varamma_profile.sh', 'varamma_profile.sh', u'varamma_profile.sh Documentation', [u'fp'], 1),
281    ('script_cat_climeraint2d.sh', 'script_cat_climeraint2d.sh', u'script_cat_climeraint2d.sh Documentation', [u'fp'], 1),
282    ('get_msg.sh', 'get_msg.sh', u'get_msg.sh Documentation', [u'fp'], 1),
283    ('get_amsu.sh', 'get_amsu.sh', u'get_amsu.sh Documentation', [u'fp'], 1),
284    ('extract_zone_nc.sh', 'extract_zone_nc.sh', u'extract_zone_nc.sh Documentation', [u'fp'], 1),
285]
286
287# intersphinx with saxo
288intersphinx_mapping = {'saxo': ('http://forge.ipsl.jussieu.fr/saxo/download/idldoc_html_output/','saxo.inv'),
289                'fptools' : ('http://www.locean-ipsl.upmc.fr/~fplod/fptools/fptools_ws/doc/html/', None)}
Note: See TracBrowser for help on using the repository browser.