Update sphinx_rtd_theme

This commit is contained in:
Tatsuhiro Tsujikawa 2015-01-11 17:20:46 +09:00
parent 8001f226b9
commit 23119a6f12
4 changed files with 16 additions and 11 deletions

View File

@ -28,5 +28,6 @@
</p> </p>
</div> </div>
{% trans %}<a href="https://github.com/snide/sphinx_rtd_theme">Sphinx theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>{% endtrans %} {% trans %}Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>{% endtrans %}.
</footer> </footer>

View File

@ -23,7 +23,7 @@
{% endif %} {% endif %}
{# CSS #} {# CSS #}
<link href='https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Roboto+Slab:400,700|Inconsolata:400,700' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic|Roboto+Slab:400,700|Inconsolata:400,700&subset=latin,cyrillic' rel='stylesheet' type='text/css'>
{# OPENSEARCH #} {# OPENSEARCH #}
{% if not embedded %} {% if not embedded %}
@ -89,6 +89,7 @@
</div> </div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation"> <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
{% block menu %}
{% set toctree = toctree(maxdepth=2, collapse=False, includehidden=True) %} {% set toctree = toctree(maxdepth=2, collapse=False, includehidden=True) %}
{% if toctree %} {% if toctree %}
{{ toctree }} {{ toctree }}
@ -96,6 +97,7 @@
<!-- Local TOC --> <!-- Local TOC -->
<div class="local-toc">{{ toc }}</div> <div class="local-toc">{{ toc }}</div>
{% endif %} {% endif %}
{% endblock %}
</div> </div>
&nbsp; &nbsp;
</nav> </nav>

View File

@ -1,7 +1,9 @@
{%- if builder != 'singlehtml' %}
<div role="search"> <div role="search">
<form id ="rtd-search-form" class="wy-form" action="{{ pathto('search') }}" method="get"> <form id="rtd-search-form" class="wy-form" action="{{ pathto('search') }}" method="get">
<input type="text" name="q" placeholder="Search docs" /> <input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" /> <input type="hidden" name="area" value="default" />
</form> </form>
</div> </div>
{%- endif %}

File diff suppressed because one or more lines are too long