# -*- coding: utf-8 -*-
-# Copyright (C) 2008-2013 EDF R&D
+# Copyright (C) 2008-2015 EDF R&D
+#
+# This file is part of SALOME ADAO module
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#sys.path.append(os.path.abspath('.'))
+sys.path.append(os.path.abspath("../../bin"))
+import module_version
# -- General configuration -----------------------------------------------------
master_doc = 'index'
# General information about the project.
-project = u'ADAO'
-copyright = u'2008-2013, Jean-Philippe ARGAUD'
+project = u'%s'%module_version.name
+copyright = u'2008-%s, Jean-Philippe ARGAUD'%module_version.year
# 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 = '7.2.0'
-version = '7\_main'
+# version = '7\_main'
+version = '%s'%module_version.version.replace('_','.')
# The full version, including alpha/beta/rc tags.
-release = '7.2.0'
-release = '7\_main'
+# release = '7\_main'
+release = '%s'%module_version.version.replace('_','.')
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
-#language = None
+language = 'en'
# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
-#html_title = None
+html_title = "Documentation %s %s"%(module_version.name,module_version.version.replace('_','.'))
# A shorter title for the navigation bar. Default is the same as html_title.
#html_short_title = None
# Grouping the document tree into LaTeX files. List of tuples
# (source start file, target name, title, author, documentclass [howto/manual]).
latex_documents = [
- ('index', 'ADAO.tex', u'ADAO Documentation',
+ ('index', 'ADAO.tex', u'ADAO documentation',
u'Jean-Philippe ARGAUD', 'manual'),
]
# -- Options for Epub output ---------------------------------------------------
# Bibliographic Dublin Core info.
-epub_title = u'ADAO'
+epub_title = project
epub_author = u'Jean-Philippe ARGAUD'
epub_publisher = u'Jean-Philippe ARGAUD'
-epub_copyright = u'2008-2013, Jean-Philippe ARGAUD'
+epub_copyright = copyright
# The language of the text. It defaults to the language option
# or en if the language is not set.