Salome HOME
Revert "Synchronize adm files"
[modules/med.git] / src / MEDOP / doc / sphinx / conf.py.in
index 83474ef37a7fc61389ed213740fc589177c5451b..aaf8a8c3632350a07ee2d1c2e51ffc92e63f42db 100644 (file)
@@ -34,7 +34,7 @@ extensions = ['sphinx.ext.autodoc']
 intersphinx_mapping = {'http://docs.python.org': None}
 
 # Add any paths that contain templates here, relative to this directory.
-templates_path = [os.path.join('@srcdir@','_templates')]
+templates_path = [os.path.join('@CMAKE_CURRENT_SOURCE_DIR@','_templates')]
 
 # The suffix of source filenames.
 source_suffix = '.rst'
@@ -47,16 +47,16 @@ master_doc = 'index'
 
 # General information about the project.
 project = 'MED, Manipulation de champs dans SALOME'
-copyright = '2010 CEA/DEN, EDF R&D, OPEN CASCADE, G. Boulant, A. Geay'
+copyright = '2010-2014 CEA/DEN, EDF R&D, OPEN CASCADE, G. Boulant, A. Geay'
 
 # 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 = '@SHORT_VERSION@'
+version = '@SALOMEMED_VERSION@'
 # The full version, including alpha/beta/rc tags.
-release = '@VERSION@'
+release = '@SALOMEMED_VERSION@'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -75,6 +75,11 @@ language = 'fr'
 # for source files.
 exclude_trees = ['.build','ref','images','CVS','.svn']
 
+# A list of glob-style patterns that should be excluded when looking for source
+# files. They are matched against the source file names relative to the
+# source directory, using slashes as directory separators on all platforms.
+exclude_patterns = ['**/CVS']
+
 # The reST default role (used for this markup: `text`) to use for all documents.
 #default_role = None
 
@@ -132,7 +137,7 @@ html_style = 'medop.css'
 # Add any paths that contain custom static files (such as style sheets) here,
 # relative to this directory. They are copied after the builtin static files,
 # so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = [os.path.join('@srcdir@','_static')]
+html_static_path = [os.path.join('@CMAKE_CURRENT_SOURCE_DIR@','_static')]
 
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
@@ -200,7 +205,7 @@ latex_documents = [
 
 # The name of an image file (relative to this directory) to place at the top of
 # the title page.
-latex_logo = os.path.join("@srcdir@","_static","head.png")
+latex_logo = os.path.join("@CMAKE_CURRENT_SOURCE_DIR@","_static","head.png")
 
 # For "manual" documents, if this is true, then toplevel headings are parts,
 # not chapters.
@@ -219,5 +224,5 @@ latex_use_modindex = False
 # ------------------------------------------------
 # The rst_epilog can be used to define variable in conf.py and use the
 # values of these variables in the rst text files.
-srcdir = '@srcdir@'
+srcdir = '@CMAKE_CURRENT_SOURCE_DIR@'
 rst_epilog = '.. |SPHINXDOC_SRCDIR| replace:: %s' % srcdir