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

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

mime-type for python scripts

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