From f06c6533f5339e9bea1a2866245c68efa6b09f88 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Thu, 20 Jul 2017 21:01:43 -0700 Subject: [PATCH 1/2] Make the index be what was main.html, redirect main to index, and set the Home link to the main wxPython site. --- docs/sphinx/_static/css/phoenix.css | 11 ++ docs/sphinx/_templates/layout.html | 6 +- docs/sphinx/_templates/main.html | 103 ++----------- docs/sphinx/conf.py | 2 +- .../rest_substitutions/overviews/index.rst | 137 ++++++++---------- sphinxtools/postprocess.py | 4 +- 6 files changed, 89 insertions(+), 174 deletions(-) diff --git a/docs/sphinx/_static/css/phoenix.css b/docs/sphinx/_static/css/phoenix.css index 1fad634e..0086a0f6 100644 --- a/docs/sphinx/_static/css/phoenix.css +++ b/docs/sphinx/_static/css/phoenix.css @@ -723,3 +723,14 @@ tt { .myactive {background-color: rgb(230, 230, 230); background-position: 0 5px;} +p.mybiglink a.mybiglink { + font-size: 1.2em; + color: #355f7c; + text-decoration: none; + +} + +table.contentstable p.mybiglink { + line-height: 150%; +} + diff --git a/docs/sphinx/_templates/layout.html b/docs/sphinx/_templates/layout.html index 68f7af14..76db1973 100644 --- a/docs/sphinx/_templates/layout.html +++ b/docs/sphinx/_templates/layout.html @@ -1,7 +1,7 @@ {% extends "basic/layout.html" %} {%- set render_sidebar = (not embedded) and (not theme_nosidebar|tobool) - and (sidebars != []) and (pagename != 'index') %} + and (sidebars != []) %} {% macro phoenixsidebar() %} {%- if render_sidebar %}{{ sidebar() }}{%- endif %} @@ -30,9 +30,9 @@

{{ _('Navigation') }}