summaryrefslogtreecommitdiff
path: root/docs/conf.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/conf.py')
-rw-r--r--docs/conf.py12
1 files changed, 9 insertions, 3 deletions
diff --git a/docs/conf.py b/docs/conf.py
index d612007..dcc539f 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -14,7 +14,10 @@
import sys
import os
+from datetime import datetime
from urllib.parse import urljoin
+
+from git import repo
from docutils import nodes, utils
# If extensions (or modules to document with autodoc) are in another directory,
@@ -54,8 +57,8 @@ master_doc = 'index'
# General information about the project.
project = u'CAcert infrastructure'
-copyright = u'2016, Jan Dittberner'
-author = u'Jan Dittberner'
+copyright = u'2016, 2017, 2018 Jan Dittberner, CAcert'
+author = u'CAcert infrastructure team'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@@ -64,7 +67,10 @@ author = u'Jan Dittberner'
# The short X.Y version.
version = u'0.1'
# The full version, including alpha/beta/rc tags.
-release = u'0.1'
+release = "{}-git:{} built:{}".format(
+ version,
+ repo.Repo('..').git.describe('--always', '--dirty'),
+ datetime.utcnow().replace(microsecond=0))
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.