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

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

complete documentation

File size: 10.2 KB
Line 
1# -*- coding: utf-8 -*-
2#
3# TROPFLUX documentation build configuration file, created by
4# sphinx-quickstart on Thu Nov 18 17:59:16 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# TODO
15# ====
16#
17# suppression de la toc dans README.pdf
18#
19# nb documentclass report pas possible car le report.cls n'est pas disponible
20#
21# automatisation of manual pages list
22#
23# intersphinx_mapping with saxo
24#
25# make autodoc work for test/read.py
26#
27# graphviz inheritance not ok
28#
29# EVOLUTIONS
30# ==========
31#
32# - fplod 20110809T160205Z cratos (Linux)
33#
34#   * add sphinx.ext.inheritance_diagram to properly handle graphviz attributes
35#     but still no ok !
36#
37# - fplod 20110622T074544Z cratos.locean-ipsl.upmc.fr (Linux)
38#
39#   * graphviz attributes (cf. http://sphinx.pocoo.org/ext/inheritance.html#confval-inheritance_graph_attrs)
40#
41# - fplod 20110203T101316Z aedon.locean-ipsl.upmc.fr (Darwin)
42#
43#   * intersphinx with cdo
44#
45# - fplod 20110106T151836Z aedon.locean-ipsl.upmc.fr (Darwin)
46#
47#   * add autodoc extension
48#
49# - fplod 20101223T083524Z aedon.locean-ipsl.upmc.fr (Darwin)
50#
51#   * intersphinx with nco
52#
53# - fplod 20101220T092450Z aedon.locean-ipsl.upmc.fr (Darwin)
54#
55#   * intersphinx with saxo
56#     cf. http://sphinx.pocoo.org/ext/intersphinx.html
57#
58# - fplod 20101216T155711Z aedon.locean-ipsl.upmc.fr (Darwin)
59#
60#   * add new hard coded manual pages
61#
62# - fplod 20101214T110437Z aedon.locean-ipsl.upmc.fr (Darwin)
63#
64#   * add graphviz extension
65#
66# - fplod 20101213T163131Z aedon.locean-ipsl.upmc.fr (Darwin)
67#
68#   * add hard coded manual pages (get_*.sh)
69#
70# - fplod 20101213T150221Z aedon.locean-ipsl.upmc.fr (Darwin)
71#
72#   * add hard coded manual pages
73#
74# - fplod 20101209T092121Z aedon.locean-ipsl.upmc.fr (Darwin)
75#
76#   * add creation of README.pdf
77#
78# - fplod 20101125T085318Z aedon.locean-ipsl.upmc.fr (Darwin)
79#
80#   * modify extensions
81#
82#-
83
84import sys, os
85
86# If extensions (or modules to document with autodoc) are in another directory,
87# add these directories to sys.path here. If the directory is relative to the
88# documentation root, use os.path.abspath to make it absolute, like shown here.
89#sys.path.insert(0, os.path.abspath('.'))
90
91# -- General configuration -----------------------------------------------------
92
93# If your documentation needs a minimal Sphinx version, state it here.
94#needs_sphinx = '1.0'
95
96# Add any Sphinx extension module names here, as strings. They can be extensions
97# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
98extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.coverage', 'sphinx.ext.pngmath', 'sphinx.ext.ifconfig','sphinx.ext.graphviz','sphinx.ext.inheritance_diagram','sphinx.ext.autodoc']
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'2010, 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 = '1.0'
122# The full version, including alpha/beta/rc tags.
123release = '1.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 = ['guides/README', '_build']
138
139# The reST default role (used for this markup: `text`) to use for all documents.
140#default_role = None
141
142# If true, '()' will be appended to :func: etc. cross-reference text.
143#add_function_parentheses = True
144
145# If true, the current module name will be prepended to all description
146# unit titles (such as .. function::).
147#add_module_names = True
148
149# If true, sectionauthor and moduleauthor directives will be shown in the
150# output. They are ignored by default.
151#show_authors = False
152
153# The name of the Pygments (syntax highlighting) style to use.
154pygments_style = 'sphinx'
155
156# A list of ignored prefixes for module index sorting.
157#modindex_common_prefix = []
158
159# graphviz attributes
160inheritance_graph_attrs = dict(rankdir="LR", size='"6.0, 8.0"',
161                               fontsize=14, ratio='compress')
162
163# -- Options for HTML output ---------------------------------------------------
164
165# The theme to use for HTML and HTML Help pages.  See the documentation for
166# a list of builtin themes.
167html_theme = 'default'
168
169# Theme options are theme-specific and customize the look and feel of a theme
170# further.  For a list of options available for each theme, see the
171# documentation.
172#html_theme_options = {}
173
174# Add any paths that contain custom themes here, relative to this directory.
175#html_theme_path = []
176
177# The name for this set of Sphinx documents.  If None, it defaults to
178# "<project> v<release> documentation".
179#html_title = None
180
181# A shorter title for the navigation bar.  Default is the same as html_title.
182#html_short_title = None
183
184# The name of an image file (relative to this directory) to place at the top
185# of the sidebar.
186#html_logo = None
187
188# The name of an image file (within the static path) to use as favicon of the
189# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
190# pixels large.
191#html_favicon = None
192
193# Add any paths that contain custom static files (such as style sheets) here,
194# relative to this directory. They are copied after the builtin static files,
195# so a file named "default.css" will overwrite the builtin "default.css".
196html_static_path = ['_static']
197
198# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
199# using the given strftime format.
200#html_last_updated_fmt = '%b %d, %Y'
201
202# If true, SmartyPants will be used to convert quotes and dashes to
203# typographically correct entities.
204#html_use_smartypants = True
205
206# Custom sidebar templates, maps document names to template names.
207#html_sidebars = {}
208
209# Additional templates that should be rendered to pages, maps page names to
210# template names.
211#html_additional_pages = {}
212
213# If false, no module index is generated.
214#html_domain_indices = True
215
216# If false, no index is generated.
217#html_use_index = True
218
219# If true, the index is split into individual pages for each letter.
220#html_split_index = False
221
222# If true, links to the reST sources are added to the pages.
223#html_show_sourcelink = True
224
225# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
226#html_show_sphinx = True
227
228# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
229#html_show_copyright = True
230
231# If true, an OpenSearch description file will be output, and all pages will
232# contain a <link> tag referring to it.  The value of this option must be the
233# base URL from which the finished HTML is served.
234#html_use_opensearch = ''
235
236# This is the file name suffix for HTML files (e.g. ".xhtml").
237#html_file_suffix = None
238
239# Output file base name for HTML help builder.
240htmlhelp_basename = 'TROPFLUXdoc'
241
242
243# -- Options for LaTeX output --------------------------------------------------
244
245# The paper size ('letter' or 'a4').
246#latex_paper_size = 'letter'
247
248# The font size ('10pt', '11pt' or '12pt').
249#latex_font_size = '10pt'
250
251# Grouping the document tree into LaTeX files. List of tuples
252# (source start file, target name, title, author, documentclass [howto/manual]).
253latex_documents = [
254  ('index', 'TROPFLUX.tex', u'TROPFLUX Documentation', u'IRD', 'manual'),
255  ('guides/README', 'README.tex', u'TROPFLUX Readme', u'IRD', '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.
267#latex_show_pagerefs = False
268
269# If true, show URL addresses after external links.
270#latex_show_urls = False
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
282# -- Options for manual page output --------------------------------------------
283
284# One entry per manual page. List of tuples
285# (source start file, name, description, authors, manual section).
286#++    ('index', 'tropflux', u'TROPFLUX Documentation', [u'IRD'], 1),
287man_pages = [
288    ('tropflux_profile.sh', 'tropflux_profile.sh', u'tropflux_profile Documentation', [u'IRD'], 1),
289    ('dlogd.sh', 'dlogd.sh', u'dlogd.sh Documentation', [u'IRD'], 1),
290    ('elogd.sh', 'elogd.sh', u'elogd.sh Documentation', [u'IRD'], 1),
291    ('plogd.sh', 'plogd.sh', u'plogd.sh Documentation', [u'IRD'], 1),
292    ('tlogd.sh', 'tlogd.sh', u'tlogd.sh Documentation', [u'IRD'], 1),
293    ('get_oaflux.sh', 'get_oaflux.sh', u'get_oaflux.sh Documentation', [u'IRD'], 1),
294    ('get_olr.sh', 'get_olr.sh', u'get_olr.sh Documentation', [u'IRD'], 1),
295    ('get_olrnint.sh', 'get_olrnint.sh', u'get_olrnint.sh Documentation', [u'IRD'], 1),
296    ('get_pirata_netcdf.sh', 'get_pirata_netcdf.sh', u'get_pirata_netcdf.sh Documentation', [u'IRD'], 1),
297    ('get_rama_netcdf.sh', 'get_rama_netcdf.sh', u'get_rama_netcdf.sh Documentation', [u'IRD'], 1),
298    ('get_tao_netcdf.sh', 'get_tao_netcdf.sh', u'get_tao_netcdf.sh Documentation', [u'IRD'], 1),
299    ('compute_erai_daily_region_2d.sh', 'compute_erai_daily_region_2d.sh', u'compute_erai_daily_region_2d.sh Documentation', [u'IRD'], 1)
300]
301#
302# intersphinx with saxo
303intersphinx_mapping = {'saxo': ('http://forge.ipsl.jussieu.fr/saxo/download/idldoc_html_output/','saxo.inv'),
304                       'nco' : ('http://nco.sourceforge.net/',                                   'nco.inv'),
305                       'cdo' : ('https://code.zmaw.de/embedded/cdo/1.4.7/',                      'cdo.inv')
306                      }
307
Note: See TracBrowser for help on using the repository browser.