From 7c6d5d53fcab75a30a3705573369a8eff4ef5145 Mon Sep 17 00:00:00 2001
From: Olivier Langella <olivier.langella@u-psud.fr>
Date: Thu, 8 Oct 2020 15:30:50 +0200
Subject: [PATCH] sphinx configuration

---
 doc/sphinx/source/conf.py                | 9 ++++++---
 doc/sphinx/source/index.rst              | 2 +-
 doc/sphinx/source/usage/installation.rst | 2 ++
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/doc/sphinx/source/conf.py b/doc/sphinx/source/conf.py
index 5fecf73e..448bb8e8 100644
--- a/doc/sphinx/source/conf.py
+++ b/doc/sphinx/source/conf.py
@@ -50,7 +50,7 @@ source_suffix = '.rst'
 master_doc = 'index'
 
 # General information about the project.
-project = u'xtandempipeline'
+project = u'X!TandemPipeline'
 copyright = u'2018, Olivier Langella'
 author = u'Olivier Langella'
 
@@ -59,9 +59,9 @@ author = u'Olivier Langella'
 # built documents.
 #
 # The short X.Y version.
-version = u'0.2'
+version = u'0.4.5'
 # The full version, including alpha/beta/rc tags.
-release = u'0.2.13'
+#release = u'0.2.13'
 
 # The language for content autogenerated by Sphinx. Refer to documentation
 # for a list of supported languages.
@@ -338,3 +338,6 @@ texinfo_documents = [
 # If true, do not generate a @detailmenu in the "Top" node's menu.
 #
 # texinfo_no_detailmenu = False
+
+
+rst_epilog = '.. |project_name| replace:: %s' % project
diff --git a/doc/sphinx/source/index.rst b/doc/sphinx/source/index.rst
index 0b79da48..5f705fde 100644
--- a/doc/sphinx/source/index.rst
+++ b/doc/sphinx/source/index.rst
@@ -3,7 +3,7 @@
    You can adapt this file completely to your liking, but it should at least
    contain the root `toctree` directive.
 
-Welcome to xtandempipeline's documentation!
+Welcome to |project_name|'s documentation!
 ===========================================
 
 Contents:
diff --git a/doc/sphinx/source/usage/installation.rst b/doc/sphinx/source/usage/installation.rst
index 8b137891..9962a9f6 100644
--- a/doc/sphinx/source/usage/installation.rst
+++ b/doc/sphinx/source/usage/installation.rst
@@ -1 +1,3 @@
+Installation of |project_name| |version|
+===========================================
 
-- 
GitLab