summaryrefslogtreecommitdiffstats
path: root/common/conf.py
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2022-08-03 14:13:09 +1000
committerChris Johns <chrisj@rtems.org>2022-08-03 14:28:19 +1000
commitc935a2c918e9310233a43a287fdd361a36baab91 (patch)
tree0740802fbbf9717878e16de3da819bbcf52b24a4 /common/conf.py
parentc-user: Document new rtems_task_delete() behaviour (diff)
downloadrtems-docs-c935a2c918e9310233a43a287fdd361a36baab91.tar.bz2
building: Add support for an RTEMS version number
- Support using a version number for RTEMS documentation Updates #4695
Diffstat (limited to '')
-rw-r--r--common/conf.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/common/conf.py b/common/conf.py
index a652e2a..565e06d 100644
--- a/common/conf.py
+++ b/common/conf.py
@@ -1,4 +1,4 @@
-import version as rtems_version
+import datetime
extensions = [
"sphinx.ext.autodoc",
@@ -30,21 +30,17 @@ master_doc = 'index'
# General information about the project.
project = u'RTEMS Documentation Project'
-copyright = u'1988, 2020 RTEMS Project and contributors'
+copyright = u'1988, ' + str(datetime.datetime.now().year) + ' RTEMS Project and contributors'
# 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 = rtems_version.version()
+#version = rtems_version.version()
# The full version, including alpha/beta/rc tags.
-release = rtems_version.string()
-
-major = rtems_version.major()
-minor = rtems_version.minor()
-revision = rtems_version.revision()
+#release = rtems_version.string()
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.