From 7e24b564adec5c913109ca485024b58b32e11ef6 Mon Sep 17 00:00:00 2001 From: Ryota MIBU Date: Thu, 11 Aug 2016 20:12:11 +0900 Subject: [PATCH] add version, builddate and copyright in sidebar Change-Id: I652de718ebc1084230499eb7bc19e2fd9ab90159 Signed-off-by: Ryota MIBU --- etc/pagemenu.html | 3 +++ scripts/docs-build.sh | 1 + 2 files changed, 4 insertions(+) diff --git a/etc/pagemenu.html b/etc/pagemenu.html index 67601b655..f5c951ae0 100644 --- a/etc/pagemenu.html +++ b/etc/pagemenu.html @@ -17,5 +17,8 @@ {# Note: single HTML won't have source rst #}
  • Save to PDF
  • {%- endif %} +
  • Version: {{version}}
  • +
  • Build Date: {{last_updated}}
  • +
  • © {{copyright}}
  • diff --git a/scripts/docs-build.sh b/scripts/docs-build.sh index 7d8abf1ca..f3fd68980 100755 --- a/scripts/docs-build.sh +++ b/scripts/docs-build.sh @@ -125,6 +125,7 @@ function prepare_config() { add_config "$_conf" 'master_doc' "'index'" add_config "$_conf" 'pygments_style' "'sphinx'" add_config "$_conf" 'html_use_index' "False" + add_config "$_conf" 'html_last_updated_fmt' "'%b %d, %Y'" add_config "$_conf" 'html_logo' "'opnfv-logo.png'" add_config "$_conf" 'latex_domain_indices' "False" add_config "$_conf" 'latex_logo' "'opnfv-logo.png'" -- 2.16.6