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

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

sphinx intermapping with cdo

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