doc: Switch to mobile-friendlier bootstrap theme

It seems to be better supported than Alabaster and is easier to be
configured to look good on both a phone and a desktop.
This commit is contained in:
Alexander Graf
2018-03-28 19:39:58 +02:00
parent 539273b963
commit d533c60824
8 changed files with 86 additions and 49 deletions

View File

@@ -1,17 +1,11 @@
{% extends "!layout.html" %}
{% block extrahead %}
{{ super() }}
<meta name="google-site-verification" content="FNUsDdkOJM9obm9QEdrNBVd9AtAzHzA-aaSMCUrS6C8" />
<script async defer src="https://buttons.github.io/buttons.js"></script>
{% if READTHEDOCS %}
<meta http-equiv="refresh" content="0; URL=https://instaloader.github.io/{{ pagename }}.html" />
<meta name="robots" content="noindex" />
{% endif %}
<style type="text/css">
div.document { width: 1008px; }
@media screen and (max-width: 1008px) {
div.sphinxsidebar { display: none; }
div.document { width: 100%!important; }
}
</style>
<meta name="google-site-verification" content="FNUsDdkOJM9obm9QEdrNBVd9AtAzHzA-aaSMCUrS6C8" />
{% if pagename == "index" %}
<link rel="canonical" href="https://instaloader.github.io/" />
{% else %}
<link rel="canonical" href="https://instaloader.github.io/{{ pagename }}.html" />
{% endif %}
<script async defer src="https://buttons.github.io/buttons.js"></script>
{% endblock %}