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