]> SALOME platform Git repositories - modules/yacs.git/blobdiff - doc/conf.py.in
Salome HOME
CMake: Update path and version variables for current build system
[modules/yacs.git] / doc / conf.py.in
index deeecab04d57d16c4469ccdf6b4274d72fd4d777..90618fcc033696d6f8ad2e22d1ee8565efd7be78 100644 (file)
@@ -28,7 +28,7 @@ extensions = ['sphinx.ext.autodoc']
 #extensions = ['rst2pdf.pdfbuilder']
 
 # 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'
@@ -48,9 +48,9 @@ copyright = '2007-2013 CEA/DEN, EDF R&D.'
 # built documents.
 #
 # The short X.Y version.
-version = '@SHORT_VERSION@'
+version = '@SALOMEYACS_VERSION@'
 # The full version, including alpha/beta/rc tags.
-release = '@VERSION@'
+release = '@SALOMEYACS_VERSION@'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -113,7 +113,7 @@ html_theme = 'default'
 # 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.