aboutsummaryrefslogtreecommitdiff
path: root/docs/_templates/layout.html
diff options
context:
space:
mode:
authorRapptz <[email protected]>2017-05-15 01:22:00 -0400
committerRapptz <[email protected]>2017-05-15 01:22:00 -0400
commitdb3bc4076a90dc2630467dc79341e70fe2808db7 (patch)
treefb12646b9434acfccb57d08c1ad1f064a79b165f /docs/_templates/layout.html
parentFix dead links in the migrating page. (diff)
downloaddiscord.py-db3bc4076a90dc2630467dc79341e70fe2808db7.tar.xz
discord.py-db3bc4076a90dc2630467dc79341e70fe2808db7.zip
Completely new theme separate from alabaster.
Diffstat (limited to 'docs/_templates/layout.html')
-rw-r--r--docs/_templates/layout.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html
new file mode 100644
index 00000000..68161509
--- /dev/null
+++ b/docs/_templates/layout.html
@@ -0,0 +1,29 @@
+{%- extends "basic/layout.html" %}
+
+{% set show_source = False %}
+{% set style = 'style.css' %}
+
+{%- block extrahead %}
+ {{ super() }}
+ <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">
+{% endblock %}
+
+{%- block relbar2 %}{% endblock %}
+
+{% block header %}
+ {{ super() }}
+ {% if pagename == 'index' %}
+ <div class="indexwrapper">
+ {% endif %}
+{% endblock %}
+
+
+{%- block footer %}
+ <div class="footer">
+ &copy; Copyright {{ copyright }}.
+ {% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}
+ </div>
+ {% if pagename == 'index' %}
+ </div>
+ {% endif %}
+{%- endblock %}