From 539273b963d5bb63fbece2018f2bbe8b356a7acf Mon Sep 17 00:00:00 2001 From: Alexander Graf Date: Sat, 24 Mar 2018 21:46:21 +0100 Subject: [PATCH] make doc more mobile-friendly --- docs/_templates/layout.html | 8 ++++++++ docs/conf.py | 3 +-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html index fba9403..1d5c904 100644 --- a/docs/_templates/layout.html +++ b/docs/_templates/layout.html @@ -1,9 +1,17 @@ {% extends "!layout.html" %} {% block extrahead %} +{{ super() }} {% if READTHEDOCS %} {% endif %} + {% endblock %} diff --git a/docs/conf.py b/docs/conf.py index 5f2d1dc..b5ea5ce 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -141,8 +141,7 @@ html_theme = 'alabaster' # html_theme_options = { 'show_powered_by': False, - 'sidebar_width': '290px', - 'page_width': '935px' } + 'sidebar_width': '290px' } # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = []