--- /dev/null
+{#
+ opnfvdocs/etc/pagemenu.html
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
+
+ Sphinx sidebar template: link to pdfcrowd.
+
+ :copyright: Copyright 2016 by OPNFV.
+ :license: Apache 2.0 .
+#}
+<div role="note" aria-label="source link">
+ <h3>{{ _('This Page') }}</h3>
+ <ul class="this-page-menu">
+ {%- if show_source and has_source and sourcename %}
+ <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
+ rel="nofollow">{{ _('Show Source') }}</a></li>
+ {%- endif %}
+ <li><a href="//pdfcrowd.com/url_to_pdf/">Save to PDF</a></li>
+ </ul>
+</div>
_name="$2"
_conf="$_src/conf.py"
+ touch "$_conf"
+
# default params
# Note: If you want to add a new sphinx extention here, you may need python
# package for it (e.g. python package 'sphinxcontrib-httpdomain' is
add_config "$_conf" 'html_logo' "'opnfv-logo.png'"
add_config "$_conf" 'latex_domain_indices' "False"
add_config "$_conf" 'latex_logo' "'opnfv-logo.png'"
+ add_config "$_conf" 'html_sidebars' \
+ "{'**': ['globaltoc.html',
+ '$(cd $OPNFVDOCS_DIR; pwd)/etc/pagemenu.html',
+ 'searchbox.html']}"
# genarated params
title=$(cd $_src; python -c "$get_title_script")