docs: Remove some useless wrappers

The "classic" theme is a mostly useless wrapper around the basic theme
that just adds a collapsible sidebar (that we no longer have).

Moving to basic directly drops a layer of indirection and a file that
needs to be transferred over the net.

Same thing goes for "default.css" which literally just includes
classic.css (WHYYYY???)

(also this removes some useless javascript)
This commit is contained in:
Fabian Homborg
2021-03-02 16:59:38 +01:00
parent edfa6746c6
commit 5b4db4a6ea
4 changed files with 2 additions and 263 deletions

View File

@@ -1,4 +1,4 @@
{% extends "classic/layout.html" %}
{% extends "basic/layout.html" %}
{# Remove broken "genindex" link - unfortunately this takes with it the acceptable "next" and "previous" links, but they're not super necessary. #}
{% set rellinks = [] %}
@@ -41,9 +41,6 @@
{% block sidebar2 %} {% endblock %}
{% block extrahead %}
<link rel="shortcut icon" type="image/png" href="{{ pathto('_static/' + theme_root_icon, 1) }}" />
{% if builder != "htmlhelp" %}
{% if not embedded %}<script type="text/javascript" src="{{ pathto('_static/copybutton.js', 1) }}"></script>{% endif %}
{% endif %}
{{ super() }}
{% endblock %}