Salome HOME
Detect sphinx theme directly in conf.py.in file
[modules/homard.git] / doc / en / conf.py.in
index f45f41e185c6cd44aa33a79db4e5e8f10f99c62f..650691b0c5e3ee318ceb220fc38db75e026eeb48 100644 (file)
@@ -12,6 +12,7 @@
 # serve to show the default.
 
 import sys, os
+import sphinx
 
 # If extensions (or modules to document with autodoc) are in another directory,
 # add these directories to sys.path here. If the directory is relative to the
@@ -38,7 +39,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'HOMARD'
-copyright = u'1996, 2011-2016, EDF R&D, G. Nicolas, T. Fouquet, P. Noyret'
+copyright = u'1996, 2011, 2018, EDF R&D, G. Nicolas, A. Martin Sanchez, T. Fouquet, P. Noyret'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the
@@ -91,7 +92,7 @@ pygments_style = 'sphinx'
 
 # The theme to use for HTML and HTML Help pages.  Major themes that come with
 # Sphinx are currently 'default' and 'sphinxdoc'.
-html_theme = '@SPHINX_THEME@'
+html_theme = 'default' if sphinx.version_info[:2] < (1,3) else 'classic'
 
 # Theme options are theme-specific and customize the look and feel of a theme
 # further.  For a list of options available for each theme, see the
@@ -178,7 +179,7 @@ pointsize = '10pt'
 # (source start file, target name, title, author, documentclass [howto/manual]).
 latex_documents = [
   ('index', 'HOMARD.tex', u'HOMARD Documentation',
-   u'G. NICOLAS et T. FOUQUET', 'manual'),
+   u'G. NICOLAS, A. MARTIN SANCHEZ and T. FOUQUET', 'manual'),
 ]
 
 # The name of an image file (relative to this directory) to place at the top of