Skip to content

Commit

Permalink
RTFD html_theme switched from default to guzzle_sphinx_theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
vbotka committed Jan 3, 2018
1 parent 7ccbadd commit 68542dc
Show file tree
Hide file tree
Showing 21 changed files with 2,797 additions and 747 deletions.
2 changes: 0 additions & 2 deletions docs/docs_requirements.txt

This file was deleted.

2 changes: 1 addition & 1 deletion docs/source/_themes/sphinx_rtd_theme/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"""
from os import path

__version__ = '0.2.5b1'
__version__ = '0.2.5b2'
__version_full__ = __version__


Expand Down
22 changes: 16 additions & 6 deletions docs/source/_themes/sphinx_rtd_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@
{% if not READTHEDOCS %}
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
{% endif %}


<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />

{% for cssfile in css_files %}
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
{% endfor %}
Expand Down Expand Up @@ -131,7 +133,10 @@
toctree is empty. Skip building this for now.
#}
{% if 'singlehtml' not in builder %}
{% set global_toc = toctree(maxdepth=theme_navigation_depth|int, collapse=theme_collapse_navigation, includehidden=theme_includehidden) %}
{% set global_toc = toctree(maxdepth=theme_navigation_depth|int,
collapse=theme_collapse_navigation|tobool,
includehidden=theme_includehidden|tobool,
titles_only=theme_titles_only|tobool) %}
{% endif %}
{% if global_toc %}
{{ global_toc }}
Expand All @@ -157,7 +162,11 @@

{# PAGE CONTENT #}
<div class="wy-nav-content">
{% if theme_style_external_links|tobool %}
<div class="rst-content style-external-links">
{% else %}
<div class="rst-content">
{% endif %}
{% include "breadcrumbs.html" %}
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
Expand Down Expand Up @@ -200,14 +209,15 @@
<script type="text/javascript" src="{{ pathto('_static/js/theme.js', 1) }}"></script>
{% endif %}

{# STICKY NAVIGATION #}
{% if theme_sticky_navigation %}
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.StickyNav.enable();
{% if theme_sticky_navigation|tobool %}
SphinxRtdTheme.Navigation.enableSticky();
{% else %}
SphinxRtdTheme.Navigation.enable();
{% endif %}
});
</script>
{% endif %}

{%- block footer %} {% endblock %}

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

0 comments on commit 68542dc

Please sign in to comment.