[pbs-devel] applied: [PATCH backup] docs: add version and date to HTML index

Thomas Lamprecht t.lamprecht at proxmox.com
Tue Sep 22 09:01:03 CEST 2020


Similar to the PDF output or the Proxmox VE docs.

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 docs/conf.py   | 4 +---
 docs/index.rst | 4 ++--
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 0ce67d71..1666a354 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -97,12 +97,10 @@ language = None
 
 # There are two options for replacing |today|: either, you set today to some
 # non-false value, then it is used:
-#
 # today = ''
 #
 # Else, today_fmt is used as the format for a strftime call.
-#
-# today_fmt = '%B %d, %Y'
+today_fmt = '%A, %d %B %Y'
 
 # List of patterns, relative to source directory, that match files and
 # directories to ignore when looking for source files.
diff --git a/docs/index.rst b/docs/index.rst
index 406271cd..e9d69851 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -2,8 +2,8 @@
 
 Welcome to the Proxmox Backup documentation!
 ============================================
-
-Copyright (C) 2019-2020 Proxmox Server Solutions GmbH
+| Copyright (C) 2019-2020 Proxmox Server Solutions GmbH
+| Version |version| -- |today|
 
 Permission is granted to copy, distribute and/or modify this document under the
 terms of the GNU Free Documentation License, Version 1.3 or any later version
-- 
2.27.0






More information about the pbs-devel mailing list