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