From: Ryota MIBU Date: Thu, 11 Aug 2016 11:12:11 +0000 (+0900) Subject: add version, builddate and copyright in sidebar X-Git-Tag: colorado.1.0~9^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=7e24b564adec5c913109ca485024b58b32e11ef6;p=opnfvdocs.git add version, builddate and copyright in sidebar Change-Id: I652de718ebc1084230499eb7bc19e2fd9ab90159 Signed-off-by: Ryota MIBU --- 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'"