add version, builddate and copyright in sidebar 61/18661/1
authorRyota MIBU <r-mibu@cq.jp.nec.com>
Thu, 11 Aug 2016 11:12:11 +0000 (20:12 +0900)
committerRyota MIBU <r-mibu@cq.jp.nec.com>
Thu, 11 Aug 2016 11:45:15 +0000 (20:45 +0900)
Change-Id: I652de718ebc1084230499eb7bc19e2fd9ab90159
Signed-off-by: Ryota MIBU <r-mibu@cq.jp.nec.com>
etc/pagemenu.html
scripts/docs-build.sh

index 67601b6..f5c951a 100644 (file)
@@ -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>&copy; {{copyright}}</li>
   </ul>
 </div>
index 7d8abf1..f3fd689 100755 (executable)
@@ -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'"