Salome HOME
remove remaining is_salome_product occurences
[tools/sat.git] / doc / src / conf.py
index 7f39b1103ed54d4ae2271bd32d57eed018a4277c..5e37a670f6e503cebd01c0ba2256733a65c2d582 100644 (file)
 import sys
 import os
 
-# Append source folder to path in order to enable autodoc
-currentPath = os.path.dirname(__file__)
-print "sphinx on file", __file__
-sys.path.append(os.path.join(currentPath, '..', '..'))
 
 # https://stackoverflow.com/questions/23462494/how-to-add-a-custom-css-file-to-sphinx
 # this needs realpath(custom), cause problem on relocated git clone, 
@@ -39,7 +35,7 @@ sys.path.append(os.path.join(currentPath, '..', '..'))
 
 # 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.autodoc', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.mathjax', 'sphinx.ext.viewcode']
+extensions = ['sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.mathjax', 'sphinx.ext.viewcode']
 
 # do not use rst_prolog please use doc/rst_prolog.rst and '.. include:: ../rst_prolog.rst'
 # https://github.com/sphinx-doc/sphinx/issues/2445
@@ -58,16 +54,16 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'salomeTools'
-copyright = u'2018, CEA'
+copyright = u'2019, CEA'
 
 # 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 = '5.0'
+version = '5.4'
 # The full version, including alpha/beta/rc tags.
-release = '5.0.0dev'
+release = '5.4.0'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -215,6 +211,9 @@ latex_elements = {
 
   # Additional stuff for the LaTeX preamble.
   #'preamble': '',
+
+  # http://www.sphinx-doc.org/en/master/latex.html
+  'sphinxsetup': 'verbatimwithframe=false, VerbatimColor={rgb}{.98,.94,.94}',
 }
 
 
@@ -240,10 +239,10 @@ latex_documents = [
 #latex_use_parts = False
 
 # If true, show page references after internal links.
-#latex_show_pagerefs = False
+latex_show_pagerefs = True
 
 # If true, show URL addresses after external links.
-latex_show_urls = True
+latex_show_urls = 'footnote' # sphinx version 1.7 # True
 
 # Additional stuff for the LaTeX preamble.
 #latex_preamble = ''