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

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

copyright 2012

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