Salome HOME
Additional minor correction to previous commit
[modules/smesh.git] / src / Tools / blocFissure / doc / conf.py.in
1 # -*- coding: utf-8 -*-
2 #
3 # Yams PlugIn documentation build configuration file, created by
4 # sphinx-quickstart on Wed Sep 14 11:40:32 2011.
5 #
6 # This file is execfile()d with the current directory set to its containing dir.
7 #
8 # The contents of this file are pickled, so don't put values in the namespace
9 # that aren't pickleable (module imports are okay, they're removed automatically).
10 #
11 # All configuration values have a default value; values that are commented out
12 # serve to show the default value.
13
14 import sys, os
15 import sphinx
16
17 # If your extensions are in another directory, add it here. If the directory
18 # is relative to the documentation root, use os.path.abspath to make it
19 # absolute, like shown here.
20 #sys.path.append(os.path.abspath('some/directory'))
21
22 # General configuration
23 # ---------------------
24
25 # Add any Sphinx extension module names here, as strings. They can be extensions
26 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
27 extensions = ['sphinx.ext.autodoc']
28 try:
29   import sphinx_rtd_theme
30   extensions += ['sphinx_rtd_theme']
31   use_rtd_theme = True
32 except:
33   use_rtd_theme = False
34
35 # Add any paths that contain templates here, relative to this directory.
36 #templates_path = ['.templates']
37
38 # The suffix of source filenames.
39 source_suffix = '.rst'
40
41 # The master toctree document.
42 master_doc = 'index'
43
44 # General substitutions.
45 project = 'Plug-in blocFissure'
46 copyright = '2010-2017 EDF R&D'
47
48 # The default replacements for |version| and |release|, also used in various
49 # other places throughout the built documents.
50 #
51 # The short X.Y version.
52 version = '@SALOMESMESH_VERSION@'
53 # The full version, including alpha/beta/rc tags.
54 release = '@SALOMESMESH_VERSION@'
55
56 # There are two options for replacing |today|: either, you set today to some
57 # non-false value, then it is used:
58 #today = ''
59 # Else, today_fmt is used as the format for a strftime call.
60 #today_fmt = '%B %d, %Y'
61
62 # List of documents that shouldn't be included in the build.
63 #unused_docs = []
64
65 # List of directories, relative to source directories, that shouldn't be searched
66 # for source files.
67 #exclude_dirs = []
68
69 # The reST default role (used for this markup: `text`) to use for all documents.
70 #default_role = None
71
72 # If true, '()' will be appended to :func: etc. cross-reference text.
73 #add_function_parentheses = True
74
75 # If true, the current module name will be prepended to all description
76 # unit titles (such as .. function::).
77 #add_module_names = True
78
79 # If true, sectionauthor and moduleauthor directives will be shown in the
80 # output. They are ignored by default.
81 #show_authors = False
82
83 # The name of the Pygments (syntax highlighting) style to use.
84 pygments_style = 'sphinx'
85
86
87 # Options for HTML output
88 # -----------------------
89
90 # The style sheet to use for HTML and HTML Help pages. A file of that name
91 # must exist either in Sphinx' static/ path, or in one of the custom paths
92 # given in html_static_path.
93 if use_rtd_theme:
94   html_theme = 'sphinx_rtd_theme'
95 else:
96   html_theme = 'default' if sphinx.version_info[:2] < (1,3) else 'classic'
97
98 themes_options = {}
99 themes_options['classic'] = {
100   'body_max_width':'none',
101   'body_min_width':0,
102 }
103 html_theme_options = themes_options.get(html_theme, {})
104
105 # The name for this set of Sphinx documents.  If None, it defaults to
106 # "<project> v<release> documentation".
107 #html_title = None
108
109 # A shorter title for the navigation bar.  Default is the same as html_title.
110 #html_short_title = None
111
112 # The name of an image file (within the static path) to place at the top of
113 # the sidebar.
114 #html_logo = None
115
116 # The name of an image file (within the static path) to use as favicon of the
117 # docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
118 # pixels large.
119 #html_favicon = None
120
121 # Add any paths that contain custom static files (such as style sheets) here,
122 # relative to this directory. They are copied after the builtin static files,
123 # so a file named "default.css" will overwrite the builtin "default.css".
124 #html_static_path = ['_static']
125
126 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
127 # using the given strftime format.
128 #html_last_updated_fmt = '%b %d, %Y'
129
130 # If true, SmartyPants will be used to convert quotes and dashes to
131 # typographically correct entities.
132 #html_use_smartypants = True
133
134 # Custom sidebar templates, maps document names to template names.
135 #html_sidebars = {}
136
137 # Additional templates that should be rendered to pages, maps page names to
138 # template names.
139 #html_additional_pages = {}
140
141 # If false, no module index is generated.
142 #html_use_modindex = True
143
144 # If false, no index is generated.
145 #html_use_index = True
146
147 # If true, the index is split into individual pages for each letter.
148 #html_split_index = False
149
150 # If true, the reST sources are included in the HTML build as _sources/<name>.
151 #html_copy_source = True
152
153 # If true, an OpenSearch description file will be output, and all pages will
154 # contain a <link> tag referring to it.  The value of this option must be the
155 # base URL from which the finished HTML is served.
156 #html_use_opensearch = ''
157
158 # If nonempty, this is the file name suffix for HTML files (e.g. ".xhtml").
159 #html_file_suffix = ''
160
161 # Output file base name for HTML help builder.
162 htmlhelp_basename = 'blocFissure_doc'
163
164
165 # Options for LaTeX output
166 # ------------------------
167
168 # The paper size ('letter' or 'a4').
169 #latex_paper_size = 'letter'
170
171 # The font size ('10pt', '11pt' or '12pt').
172 #latex_font_size = '10pt'
173
174 # Grouping the document tree into LaTeX files. List of tuples
175 # (source start file, target name, title, author, document class [howto/manual]).
176 latex_documents = [
177   ('index', 'blocFissure.tex', 'Documentation Plug-in blocFissure',
178    'EDF', 'manual'),
179 ]
180
181 # The name of an image file (relative to this directory) to place at the top of
182 # the title page.
183 #latex_logo = None
184
185 # For "manual" documents, if this is true, then toplevel headings are parts,
186 # not chapters.
187 #latex_use_parts = False
188
189 # Additional stuff for the LaTeX preamble.
190 #latex_preamble = ''
191
192 # Documents to append as an appendix to all manuals.
193 #latex_appendices = []
194
195 # If false, no module index is generated.
196 #latex_use_modindex = True