From e22a0e8b3394dd6564c2685f40a71ea64b424591 Mon Sep 17 00:00:00 2001 From: Kevin Paul Date: Tue, 11 Jan 2022 16:00:06 -0700 Subject: [PATCH 1/2] When using the topbar, don't use container-fluid --- sphinx_pythia_theme/topbar.html | 35 --------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 sphinx_pythia_theme/topbar.html diff --git a/sphinx_pythia_theme/topbar.html b/sphinx_pythia_theme/topbar.html deleted file mode 100644 index 5020e15..0000000 --- a/sphinx_pythia_theme/topbar.html +++ /dev/null @@ -1,35 +0,0 @@ -
-
- -
- {% if theme_single_page != True %} - - {% endif %} - {% include "topbar/download.html" %} - {% include "topbar/repobuttons.html" %} - {% include "topbar/fullscreen.html" %} - {% include "topbar/launchbuttons.html" %} -
- - -
- {% set page_toc = generate_toc_html() %} - - {%- if page_toc | length >= 1 %} -
- {{ translate(theme_toc_title) }} -
- - {%- endif %} -
-
-
\ No newline at end of file From a3688df836739be0113c6290d3a387707d2a21a7 Mon Sep 17 00:00:00 2001 From: Kevin Paul Date: Tue, 11 Jan 2022 16:00:27 -0700 Subject: [PATCH 2/2] Use container-xl on default layouts --- sphinx_pythia_theme/layout.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 52fc3a5..97f993a 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -14,7 +14,11 @@ {%- endblock %} + {%- if theme_page_layouts and pagename in theme_page_layouts %}
+ {%- else %} +
+ {%- endif %}
{%- block docs_sidebar %} {%- if sidebars %}