source: trunk/adm/sphinx/conf.py @ 397

Last change on this file since 397 was 397, checked in by pinsard, 13 years ago

complete requirement and biblio

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