Skip to content
Snippets Groups Projects
Commit ba27b312 authored by Jan Mach's avatar Jan Mach
Browse files

Propagated information about package version to documentation.

Version number gets propagated into autogenerated documentation. Buildbot system is responsible for generating appropriate metadata file. (Redmine issues: #3361 and #3387)
parent ead1afa4
No related branches found
No related tags found
No related merge requests found
...@@ -119,6 +119,7 @@ todo_include_todos = True ...@@ -119,6 +119,7 @@ todo_include_todos = True
rst_epilog = """ rst_epilog = """
.. |codename| replace:: **{codename}** .. |codename| replace:: **{codename}**
.. |suite| replace:: *{suite}* .. |suite| replace:: *{suite}*
.. |bversion| replace:: *{bversion}*
.. |revision| replace:: ``{revision}`` .. |revision| replace:: ``{revision}``
""".format(**custom_metadata) """.format(**custom_metadata)
......
...@@ -10,6 +10,7 @@ Welcome to Mentat's documentation! ...@@ -10,6 +10,7 @@ Welcome to Mentat's documentation!
Please be aware, that this version of documentation is appropriate for: Please be aware, that this version of documentation is appropriate for:
* version: |bversion|
* distribution: |codename| (|suite|) * distribution: |codename| (|suite|)
* Git revision: |revision| * Git revision: |revision|
......
{"codename":"local","suite": "unstable","revision":"latest"} {"codename":"local","suite": "unstable","bversion":"unknown","revision":"latest"}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment