From 89ab719c482a09f0a759c3ec171422fd53f8656e Mon Sep 17 00:00:00 2001 From: Timm Fitschen <t.fitschen@indiscale.com> Date: Fri, 9 Jul 2021 16:36:40 +0200 Subject: [PATCH] DOC: Add version string to welcome page --- doc/conf.py.in | 1 + doc/index.rst.in | 2 ++ 2 files changed, 3 insertions(+) diff --git a/doc/conf.py.in b/doc/conf.py.in index d0790b4..bdc3216 100644 --- a/doc/conf.py.in +++ b/doc/conf.py.in @@ -23,6 +23,7 @@ author = 'Timm Fitschen' rst_prolog = """ .. |PROJECT_NAME| replace:: @CMAKE_PROJECT_NAME@ +.. |PROJECT_VERSION| replace:: @CMAKE_PROJECT_VERSION@ """ diff --git a/doc/index.rst.in b/doc/index.rst.in index b3d1243..086a2f4 100644 --- a/doc/index.rst.in +++ b/doc/index.rst.in @@ -25,6 +25,8 @@ Welcome to |PROJECT_NAME|'s documentation! ========================================== +Version: |PROJECT_VERSION| + This is work in progress. -- GitLab