Salome HOME
appying 2to3
[modules/hydro.git] / doc / salome / tutorial / conf.py.in
index b43e1a50749c556e38b6041599f500bd58994ec9..bc2952fee914d0956cccb113d265e78b7f132534 100644 (file)
@@ -41,6 +41,7 @@ import sys, os
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
 #extensions = ['sphinx.ext.extlinks']
+extensions = ['sphinx.ext.viewcode','sphinx.ext.pngmath']
 
 # Add any paths that contain templates here, relative to this directory.
 #templates_path = ['_templates']
@@ -55,17 +56,19 @@ source_suffix = '.rst'
 master_doc = 'index'
 
 # General information about the project.
-project = u'HYDRO module'
-copyright = u'2012-2013, EDF'
+project = u'SALOME HYDRO'
+copyright = u'2015-2017, EDF'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
 # built documents.
 #
 # The short X.Y version.
-version = '@SALOMEHYDRO_VERSION@'
+#version = '@SALOMEHYDRO_VERSION@'
+version = '8.3.0'
 # The full version, including alpha/beta/rc tags.
-release = '@SALOMEHYDRO_VERSION@'
+#release = '@SALOMEHYDRO_VERSION@'
+release = '8.3.0- module HYDRO -@SALOMEHYDRO_VERSION@-2017.07.10'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -176,23 +179,29 @@ html_static_path = ['_static']
 #html_file_suffix = ''
 
 # Output file base name for HTML help builder.
-#htmlhelp_basename = 'HYDROmoduledoc'
+htmlhelp_basename = 'module_HYDRO_tutoriel'
 
 
 # -- Options for LaTeX output --------------------------------------------------
 
+latex_elements = {
 # The paper size ('letter' or 'a4').
-#latex_paper_size = 'letter'
+#latex_paper_size = 'a4'
+'papersize': 'a4paper',
 
 # The font size ('10pt', '11pt' or '12pt').
 #latex_font_size = '10pt'
 
+# Latex figure (float) alignment
+'figure_align': 'htbp',
+}
+
 # Grouping the document tree into LaTeX files. List of tuples
 # (source start file, target name, title, author, documentclass [howto/manual]).
-#latex_documents = [
-#  ('index', 'HYDROmodule.tex', u'HYDRO module Documentation',
-#   u'EDF R&D', 'manual'),
-#]
+latex_documents = [
+  ('index', 'moduleHYDRO_tutoriel.tex', u'module HYDRO Documentation',
+   u'EDF', 'manual'),
+]
 
 # The name of an image file (relative to this directory) to place at the top of
 # the title page.
@@ -204,6 +213,8 @@ html_static_path = ['_static']
 
 # Additional stuff for the LaTeX preamble.
 #latex_preamble = ''
+latex_preamble = """\usepackage{pdfpages}
+\setcounter{tocdepth}{2}"""
 
 # Documents to append as an appendix to all manuals.
 #latex_appendices = []