]> SALOME platform Git repositories - modules/adao.git/blob - doc/fr/conf.py
Salome HOME
Documentation minor corrections and improvements
[modules/adao.git] / doc / fr / conf.py
1 # -*- coding: utf-8 -*-
2 # Copyright (C) 2008-2014 EDF R&D
3 #
4 # This library is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU Lesser General Public
6 # License as published by the Free Software Foundation; either
7 # version 2.1 of the License.
8 #
9 # This library is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12 # Lesser General Public License for more details.
13 #
14 # You should have received a copy of the GNU Lesser General Public
15 # License along with this library; if not, write to the Free Software
16 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
17 #
18 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
19 #
20 # Author: Jean-Philippe Argaud, jean-philippe.argaud@edf.fr, EDF R&D
21
22 #
23 # ADAO documentation build configuration file, created by
24 # sphinx-quickstart on Wed Jun 16 15:48:00 2010.
25 #
26 # This file is execfile()d with the current directory set to its containing dir.
27 #
28 # Note that not all possible configuration values are present in this
29 # autogenerated file.
30 #
31 # All configuration values have a default; values that are commented out
32 # serve to show the default.
33
34 import sys, os
35
36 # If extensions (or modules to document with autodoc) are in another directory,
37 # add these directories to sys.path here. If the directory is relative to the
38 # documentation root, use os.path.abspath to make it absolute, like shown here.
39 #sys.path.append(os.path.abspath('.'))
40 sys.path.append(os.path.abspath("../../bin"))
41 import module_version
42
43 # -- General configuration -----------------------------------------------------
44
45 # Add any Sphinx extension module names here, as strings. They can be extensions
46 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
47 extensions = ["sphinx.ext.pngmath"]
48
49 # Add any paths that contain templates here, relative to this directory.
50 templates_path = ['_templates']
51
52 # The suffix of source filenames.
53 source_suffix = '.rst'
54
55 # The encoding of source files.
56 #source_encoding = 'utf-8'
57
58 # The master toctree document.
59 master_doc = 'index'
60
61 # General information about the project.
62 project = u'%s'%module_version.name
63 copyright = u'2008-2014, Jean-Philippe ARGAUD'
64
65 # The version info for the project you're documenting, acts as replacement for
66 # |version| and |release|, also used in various other places throughout the
67 # built documents.
68 #
69 # The short X.Y version.
70 # version = '7\_main'
71 version = '%s'%module_version.version.replace('_','.')
72 # The full version, including alpha/beta/rc tags.
73 # release = '7\_main'
74 release = '%s'%module_version.version.replace('_','.')
75
76 # The language for content autogenerated by Sphinx. Refer to documentation
77 # for a list of supported languages.
78 language = 'fr'
79
80 # There are two options for replacing |today|: either, you set today to some
81 # non-false value, then it is used:
82 #today = ''
83 # Else, today_fmt is used as the format for a strftime call.
84 #today_fmt = '%B %d, %Y'
85
86 # List of documents that shouldn't be included in the build.
87 #unused_docs = []
88
89 # List of directories, relative to source directory, that shouldn't be searched
90 # for source files.
91 exclude_trees = []
92
93 # The reST default role (used for this markup: `text`) to use for all documents.
94 #default_role = None
95
96 # If true, '()' will be appended to :func: etc. cross-reference text.
97 #add_function_parentheses = True
98
99 # If true, the current module name will be prepended to all description
100 # unit titles (such as .. function::).
101 #add_module_names = True
102
103 # If true, sectionauthor and moduleauthor directives will be shown in the
104 # output. They are ignored by default.
105 #show_authors = False
106
107 # The name of the Pygments (syntax highlighting) style to use.
108 pygments_style = 'sphinx'
109
110 # A list of ignored prefixes for module index sorting.
111 #modindex_common_prefix = []
112
113
114 # -- Options for HTML output ---------------------------------------------------
115
116 # The theme to use for HTML and HTML Help pages.  Major themes that come with
117 # Sphinx are currently 'default' and 'sphinxdoc'.
118 html_theme = 'default'
119
120 # Theme options are theme-specific and customize the look and feel of a theme
121 # further.  For a list of options available for each theme, see the
122 # documentation.
123 #html_theme_options = {}
124
125 # Add any paths that contain custom themes here, relative to this directory.
126 #html_theme_path = []
127
128 # The name for this set of Sphinx documents.  If None, it defaults to
129 # "<project> v<release> documentation".
130 html_title = "Documentation %s %s"%(module_version.name,module_version.version.replace('_','.'))
131
132 # A shorter title for the navigation bar.  Default is the same as html_title.
133 #html_short_title = None
134
135 # The name of an image file (relative to this directory) to place at the top
136 # of the sidebar.
137 #html_logo = None
138
139 # The name of an image file (within the static path) to use as favicon of the
140 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
141 # pixels large.
142 #html_favicon = None
143
144 # Add any paths that contain custom static files (such as style sheets) here,
145 # relative to this directory. They are copied after the builtin static files,
146 # so a file named "default.css" will overwrite the builtin "default.css".
147 html_static_path = ['_static']
148
149 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
150 # using the given strftime format.
151 #html_last_updated_fmt = '%b %d, %Y'
152
153 # If true, SmartyPants will be used to convert quotes and dashes to
154 # typographically correct entities.
155 #html_use_smartypants = True
156
157 # Custom sidebar templates, maps document names to template names.
158 #html_sidebars = {}
159
160 # Additional templates that should be rendered to pages, maps page names to
161 # template names.
162 #html_additional_pages = {}
163
164 # If false, no module index is generated.
165 #html_use_modindex = True
166
167 # If false, no index is generated.
168 #html_use_index = True
169
170 # If true, the index is split into individual pages for each letter.
171 #html_split_index = False
172
173 # If true, links to the reST sources are added to the pages.
174 html_show_sourcelink = False
175
176 # If true, an OpenSearch description file will be output, and all pages will
177 # contain a <link> tag referring to it.  The value of this option must be the
178 # base URL from which the finished HTML is served.
179 #html_use_opensearch = ''
180
181 # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
182 #html_file_suffix = ''
183
184 # Output file base name for HTML help builder.
185 htmlhelp_basename = 'ADAOdoc'
186
187
188 # -- Options for LaTeX output --------------------------------------------------
189
190 # The paper size ('letter' or 'a4').
191 latex_paper_size = 'a4'
192
193 # The font size ('10pt', '11pt' or '12pt').
194 latex_font_size = '10pt'
195
196 # Grouping the document tree into LaTeX files. List of tuples
197 # (source start file, target name, title, author, documentclass [howto/manual]).
198 latex_documents = [
199   ('index', 'ADAO.tex', u'Documentation ADAO',
200    u'Jean-Philippe ARGAUD', 'manual'),
201 ]
202
203 # The name of an image file (relative to this directory) to place at the top of
204 # the title page.
205 #latex_logo = None
206
207 # For "manual" documents, if this is true, then toplevel headings are parts,
208 # not chapters.
209 #latex_use_parts = False
210
211 # Additional stuff for the LaTeX preamble.
212 #latex_preamble = ''
213
214 # Documents to append as an appendix to all manuals.
215 #latex_appendices = []
216
217 # If false, no module index is generated.
218 #latex_use_modindex = True
219
220 source_encoding = 'iso-8859-15'
221
222 # -- Options for Epub output ---------------------------------------------------
223
224 # Bibliographic Dublin Core info.
225 epub_title = u'ADAO'
226 epub_author = u'Jean-Philippe ARGAUD'
227 epub_publisher = u'Jean-Philippe ARGAUD'
228 epub_copyright = u'2008-2014, Jean-Philippe ARGAUD'
229
230 # The language of the text. It defaults to the language option
231 # or en if the language is not set.
232 #epub_language = ''
233
234 # The scheme of the identifier. Typical schemes are ISBN or URL.
235 #epub_scheme = ''
236
237 # The unique identifier of the text. This can be a ISBN number
238 # or the project homepage.
239 #epub_identifier = ''
240
241 # A unique identification for the text.
242 #epub_uid = ''
243
244 # HTML files that should be inserted before the pages created by sphinx.
245 # The format is a list of tuples containing the path and title.
246 #epub_pre_files = []
247
248 # HTML files shat should be inserted after the pages created by sphinx.
249 # The format is a list of tuples containing the path and title.
250 #epub_post_files = []
251
252 # A list of files that should not be packed into the epub file.
253 #epub_exclude_files = []
254
255 # The depth of the table of contents in toc.ncx.
256 #epub_tocdepth = 3
257
258 # Allow duplicate toc entries.
259 #epub_tocdup = True
260
261 # -- Options for PDF output --------------------------------------------------
262 # Grouping the document tree into PDF files. List of tuples
263 # (source start file, target name, title, author, options).
264 #
265 # If there is more than one author, separate them with \\.
266 # For example: r'Guido van Rossum\\Fred L. Drake, Jr., editor'
267 #
268 # The options element is a dictionary that lets you override
269 # this config per-document.
270 # For example,
271 # ('index', u'MyProject', u'My Project', u'Author Name',
272 #  dict(pdf_compressed = True))
273 # would mean that specific document would be compressed
274 # regardless of the global pdf_compressed setting.
275 pdf_documents = [
276     ('contents', u'ADAO', u'ADAO', u'Jean-Philippe ARGAUD', dict(pdf_compressed = True)),
277 ]
278 # A comma-separated list of custom stylesheets. Example:
279 pdf_stylesheets = ['sphinx','kerning','a4']
280 # Create a compressed PDF
281 # Use True/False or 1/0
282 # Example: compressed=True
283 #pdf_compressed = False
284 pdf_compressed = True
285 # A colon-separated list of folders to search for fonts. Example:
286 # pdf_font_path = ['/usr/share/fonts', '/usr/share/texmf-dist/fonts/']
287 # Language to be used for hyphenation support
288 #pdf_language = "en_US"
289 # Mode for literal blocks wider than the frame. Can be
290 # overflow, shrink or truncate
291 #pdf_fit_mode = "shrink"
292 # Section level that forces a break page.
293 # For example: 1 means top-level sections start in a new page
294 # 0 means disabled
295 #pdf_break_level = 0
296 # When a section starts in a new page, force it to be 'even', 'odd',
297 # or just use 'any'
298 #pdf_breakside = 'any'
299 # Insert footnotes where they are defined instead of
300 # at the end.
301 #pdf_inline_footnotes = True
302 # verbosity level. 0 1 or 2
303 #pdf_verbosity = 0
304 # If false, no index is generated.
305 #pdf_use_index = True
306 # If false, no modindex is generated.
307 #pdf_use_modindex = True
308 # If false, no coverpage is generated.
309 #pdf_use_coverpage = True
310 # Name of the cover page template to use
311 #pdf_cover_template = 'sphinxcover.tmpl'
312 # Documents to append as an appendix to all manuals.
313 #pdf_appendices = []
314 # Enable experimental feature to split table cells. Use it
315 # if you get "DelayedTable too big" errors
316 #pdf_splittables = False
317 # Set the default DPI for images
318 #pdf_default_dpi = 72
319 # Enable rst2pdf extension modules (default is empty list)
320 # you need vectorpdf for better sphinx's graphviz support
321 #pdf_extensions = ['vectorpdf']
322 # Page template name for "regular" pages
323 #pdf_page_template = 'cutePage'