diff options
author | Ryota MIBU <r-mibu@cq.jp.nec.com> | 2016-08-21 13:45:18 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-08-21 13:45:18 +0000 |
commit | a6032ccb3f438ecca5059223fcf630926888c4c0 (patch) | |
tree | 2d4fad0d0aa78fa12f3ae75d79db1e0b4b243d79 | |
parent | ce17ebe54844509678de7d8d7c58fdbc136dd134 (diff) | |
parent | 7e24b564adec5c913109ca485024b58b32e11ef6 (diff) |
Merge "add version, builddate and copyright in sidebar"
-rw-r--r-- | etc/pagemenu.html | 3 | ||||
-rwxr-xr-x | scripts/docs-build.sh | 1 |
2 files changed, 4 insertions, 0 deletions
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 #} <li><a href="//pdfcrowd.com/url_to_pdf/">Save to PDF</a></li> {%- endif %} + <li>Version: {{version}}</li> + <li>Build Date: {{last_updated}}</li> + <li>© {{copyright}}</li> </ul> </div> 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'" |