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

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

fix for developper documentation

File size: 10.5 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 20120119
33#
34#   * add intersphinx mapping with fptools
35#
36# - fplod 20120109
37#
38#   * copyright 2012
39#
40# - fplod 20110809T160205Z cratos (Linux)
41#
42#   * add sphinx.ext.inheritance_diagram to properly handle graphviz attributes
43#     but still no ok !
44#
45# - fplod 20110622T074544Z cratos.locean-ipsl.upmc.fr (Linux)
46#
47#   * graphviz attributes (cf. http://sphinx.pocoo.org/ext/inheritance.html#confval-inheritance_graph_attrs)
48#
49# - fplod 20110203T101316Z aedon.locean-ipsl.upmc.fr (Darwin)
50#
51#   * intersphinx with cdo
52#
53# - fplod 20110106T151836Z aedon.locean-ipsl.upmc.fr (Darwin)
54#
55#   * add autodoc extension
56#
57# - fplod 20101223T083524Z aedon.locean-ipsl.upmc.fr (Darwin)
58#
59#   * intersphinx with nco
60#
61# - fplod 20101220T092450Z aedon.locean-ipsl.upmc.fr (Darwin)
62#
63#   * intersphinx with saxo
64#     cf. http://sphinx.pocoo.org/ext/intersphinx.html
65#
66# - fplod 20101216T155711Z aedon.locean-ipsl.upmc.fr (Darwin)
67#
68#   * add new hard coded manual pages
69#
70# - fplod 20101214T110437Z aedon.locean-ipsl.upmc.fr (Darwin)
71#
72#   * add graphviz extension
73#
74# - fplod 20101213T163131Z aedon.locean-ipsl.upmc.fr (Darwin)
75#
76#   * add hard coded manual pages (get_*.sh)
77#
78# - fplod 20101213T150221Z aedon.locean-ipsl.upmc.fr (Darwin)
79#
80#   * add hard coded manual pages
81#
82# - fplod 20101209T092121Z aedon.locean-ipsl.upmc.fr (Darwin)
83#
84#   * add creation of README.pdf
85#
86# - fplod 20101125T085318Z aedon.locean-ipsl.upmc.fr (Darwin)
87#
88#   * modify extensions
89#
90#-
91
92import sys, os
93
94# If extensions (or modules to document with autodoc) are in another directory,
95# add these directories to sys.path here. If the directory is relative to the
96# documentation root, use os.path.abspath to make it absolute, like shown here.
97#sys.path.insert(0, os.path.abspath('.'))
98sys.path.insert(0, os.path.abspath('../../../src/'))
99
100# -- General configuration -----------------------------------------------------
101
102# If your documentation needs a minimal Sphinx version, state it here.
103#needs_sphinx = '1.0'
104
105# Add any Sphinx extension module names here, as strings. They can be extensions
106# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
107extensions = ['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']
108
109# Add any paths that contain templates here, relative to this directory.
110templates_path = ['_templates']
111
112# The suffix of source filenames.
113source_suffix = '.rst'
114
115# The encoding of source files.
116source_encoding = 'iso-8859-15'
117
118# The master toctree document.
119master_doc = 'index'
120
121# General information about the project.
122project = u'TROPFLUX'
123copyright = u'2012, IRD'
124
125# The version info for the project you're documenting, acts as replacement for
126# |version| and |release|, also used in various other places throughout the
127# built documents.
128#
129# The short X.Y version.
130version = '1.0'
131# The full version, including alpha/beta/rc tags.
132release = '1.0'
133
134# The language for content autogenerated by Sphinx. Refer to documentation
135# for a list of supported languages.
136#language = None
137
138# There are two options for replacing |today|: either, you set today to some
139# non-false value, then it is used:
140#today = ''
141# Else, today_fmt is used as the format for a strftime call.
142#today_fmt = '%B %d, %Y'
143
144# List of patterns, relative to source directory, that match files and
145# directories to ignore when looking for source files.
146exclude_patterns = ['guides/README', '_build']
147
148# The reST default role (used for this markup: `text`) to use for all documents.
149#default_role = None
150
151# If true, '()' will be appended to :func: etc. cross-reference text.
152#add_function_parentheses = True
153
154# If true, the current module name will be prepended to all description
155# unit titles (such as .. function::).
156#add_module_names = True
157
158# If true, sectionauthor and moduleauthor directives will be shown in the
159# output. They are ignored by default.
160#show_authors = False
161
162# The name of the Pygments (syntax highlighting) style to use.
163pygments_style = 'sphinx'
164
165# A list of ignored prefixes for module index sorting.
166#modindex_common_prefix = []
167
168# graphviz attributes
169inheritance_graph_attrs = dict(rankdir="LR", size='"6.0, 8.0"',
170                               fontsize=14, ratio='compress')
171
172# -- Options for HTML output ---------------------------------------------------
173
174# The theme to use for HTML and HTML Help pages.  See the documentation for
175# a list of builtin themes.
176html_theme = 'default'
177
178# Theme options are theme-specific and customize the look and feel of a theme
179# further.  For a list of options available for each theme, see the
180# documentation.
181#html_theme_options = {}
182
183# Add any paths that contain custom themes here, relative to this directory.
184#html_theme_path = []
185
186# The name for this set of Sphinx documents.  If None, it defaults to
187# "<project> v<release> documentation".
188#html_title = None
189
190# A shorter title for the navigation bar.  Default is the same as html_title.
191#html_short_title = None
192
193# The name of an image file (relative to this directory) to place at the top
194# of the sidebar.
195#html_logo = None
196
197# The name of an image file (within the static path) to use as favicon of the
198# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
199# pixels large.
200#html_favicon = None
201
202# Add any paths that contain custom static files (such as style sheets) here,
203# relative to this directory. They are copied after the builtin static files,
204# so a file named "default.css" will overwrite the builtin "default.css".
205html_static_path = ['_static']
206
207# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
208# using the given strftime format.
209#html_last_updated_fmt = '%b %d, %Y'
210
211# If true, SmartyPants will be used to convert quotes and dashes to
212# typographically correct entities.
213#html_use_smartypants = True
214
215# Custom sidebar templates, maps document names to template names.
216#html_sidebars = {}
217
218# Additional templates that should be rendered to pages, maps page names to
219# template names.
220#html_additional_pages = {}
221
222# If false, no module index is generated.
223#html_domain_indices = True
224
225# If false, no index is generated.
226#html_use_index = True
227
228# If true, the index is split into individual pages for each letter.
229#html_split_index = False
230
231# If true, links to the reST sources are added to the pages.
232#html_show_sourcelink = True
233
234# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
235#html_show_sphinx = True
236
237# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
238#html_show_copyright = True
239
240# If true, an OpenSearch description file will be output, and all pages will
241# contain a <link> tag referring to it.  The value of this option must be the
242# base URL from which the finished HTML is served.
243#html_use_opensearch = ''
244
245# This is the file name suffix for HTML files (e.g. ".xhtml").
246#html_file_suffix = None
247
248# Output file base name for HTML help builder.
249htmlhelp_basename = 'TROPFLUXdoc'
250
251
252# -- Options for LaTeX output --------------------------------------------------
253
254# The paper size ('letter' or 'a4').
255#latex_paper_size = 'letter'
256
257# The font size ('10pt', '11pt' or '12pt').
258#latex_font_size = '10pt'
259
260# Grouping the document tree into LaTeX files. List of tuples
261# (source start file, target name, title, author, documentclass [howto/manual]).
262latex_documents = [
263  ('index', 'TROPFLUX.tex', u'TROPFLUX Documentation', u'IRD', 'manual'),
264  ('guides/README', 'README.tex', u'TROPFLUX Readme', u'IRD', 'howto'),
265]
266
267# The name of an image file (relative to this directory) to place at the top of
268# the title page.
269#latex_logo = None
270
271# For "manual" documents, if this is true, then toplevel headings are parts,
272# not chapters.
273#latex_use_parts = False
274
275# If true, show page references after internal links.
276#latex_show_pagerefs = False
277
278# If true, show URL addresses after external links.
279#latex_show_urls = False
280
281# Additional stuff for the LaTeX preamble.
282#latex_preamble = ''
283
284# Documents to append as an appendix to all manuals.
285#latex_appendices = []
286
287# If false, no module index is generated.
288#latex_domain_indices = True
289
290
291# -- Options for manual page output --------------------------------------------
292
293# One entry per manual page. List of tuples
294# (source start file, name, description, authors, manual section).
295#++    ('index', 'tropflux', u'TROPFLUX Documentation', [u'IRD'], 1),
296man_pages = [
297    ('tropflux_profile.sh', 'tropflux_profile.sh', u'tropflux_profile Documentation', [u'IRD'], 1),
298    ('dlogd.sh', 'dlogd.sh', u'dlogd.sh Documentation', [u'IRD'], 1),
299    ('elogd.sh', 'elogd.sh', u'elogd.sh Documentation', [u'IRD'], 1),
300    ('plogd.sh', 'plogd.sh', u'plogd.sh Documentation', [u'IRD'], 1),
301    ('tlogd.sh', 'tlogd.sh', u'tlogd.sh Documentation', [u'IRD'], 1),
302    ('get_oaflux.sh', 'get_oaflux.sh', u'get_oaflux.sh Documentation', [u'IRD'], 1),
303    ('get_olr.sh', 'get_olr.sh', u'get_olr.sh Documentation', [u'IRD'], 1),
304    ('get_olrnint.sh', 'get_olrnint.sh', u'get_olrnint.sh Documentation', [u'IRD'], 1),
305    ('get_pirata_netcdf.sh', 'get_pirata_netcdf.sh', u'get_pirata_netcdf.sh Documentation', [u'IRD'], 1),
306    ('get_rama_netcdf.sh', 'get_rama_netcdf.sh', u'get_rama_netcdf.sh Documentation', [u'IRD'], 1),
307    ('get_tao_netcdf.sh', 'get_tao_netcdf.sh', u'get_tao_netcdf.sh Documentation', [u'IRD'], 1),
308    ('compute_erai_daily_region_2d.sh', 'compute_erai_daily_region_2d.sh', u'compute_erai_daily_region_2d.sh Documentation', [u'IRD'], 1)
309]
310#
311# intersphinx with saxo
312intersphinx_mapping = {'saxo': ('http://forge.ipsl.jussieu.fr/saxo/download/idldoc_html_output/','saxo.inv'),
313                       'nco' : ('http://nco.sourceforge.net/',                                   'nco.inv'),
314                       'cdo' : ('https://code.zmaw.de/embedded/cdo/1.4.7/',                      'cdo.inv'),
315                       'fptools' : ('http://www.locean-ipsl.upmc.fr/~fplod/fptools/fptools_ws/doc/html/', None)
316                      }
317
Note: See TracBrowser for help on using the repository browser.