From ad91b6075a13180384a6f25643b076e92a63f693 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Mon, 5 Feb 2024 13:52:25 -0700 Subject: [PATCH 001/118] Re-populate layout --- sphinx_pythia_theme/layout.html | 69 ++++++++++++++++++++++++++++++++- 1 file changed, 68 insertions(+), 1 deletion(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 56d3006..97f993a 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -1 +1,68 @@ -{%- extends "sphinx_book_theme/layout.html" %} \ No newline at end of file +{%- extends "sphinx_book_theme/layout.html" %} + +{%- block body_tag %} + +{%- endblock %} + +{%- block content %} +
+ + + {%- block docs_navbar %} + + {%- endblock %} + + {%- if theme_page_layouts and pagename in theme_page_layouts %} +
+ {%- else %} +
+ {%- endif %} +
+ {%- block docs_sidebar %} + {%- if sidebars %} + {{ super() }} + {%- else %} +
+ {%- endif %} + {%- endblock %} + + {%- block docs_toc %} + {{ super() }} + {%- endblock %} + + {%- block docs_main %} + {%- if theme_page_layouts and pagename in theme_page_layouts %} + {%- include theme_page_layouts[pagename] %} + {%- else %} +
+ {%- block docs_body %} + {%- if sidebars %} + {%- include "topbar.html" %} + {%- endif %} +
+
+ {{ super.super() }} + {%- if theme_show_prev_next %} + {%- include "_templates/prev-next.html" %} + {%- endif %} +
+
+ {%- endblock %} +
+ {%- endif %} + {%- endblock %} + +
+
+ + {%- block scripts_end %} + {{ _webpack.body_post() }} + {%- endblock %} + +{%- endblock %} + +{%- block footer %} +{{ super.super() }} +{%- endblock %} From 505a6a07ba08be4ce564023a8fa94b2a76f93e2f Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Mon, 5 Feb 2024 13:56:58 -0700 Subject: [PATCH 002/118] Remove docs-navbar block from layout --- sphinx_pythia_theme/layout.html | 6 ------ 1 file changed, 6 deletions(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 97f993a..c89d529 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -8,12 +8,6 @@
- {%- block docs_navbar %} - - {%- endblock %} - {%- if theme_page_layouts and pagename in theme_page_layouts %}
{%- else %} From 9a089a6222253422631eb2f8c5051521d23bebe4 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Mon, 5 Feb 2024 14:04:11 -0700 Subject: [PATCH 003/118] Remove docs-sidebar block from layout --- sphinx_pythia_theme/layout.html | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index c89d529..5202e96 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -14,14 +14,6 @@
{%- endif %}
- {%- block docs_sidebar %} - {%- if sidebars %} - {{ super() }} - {%- else %} -
- {%- endif %} - {%- endblock %} - {%- block docs_toc %} {{ super() }} {%- endblock %} From 2e3172cca269e5658e5d963ba3a1184b4ff73bbb Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Mon, 5 Feb 2024 14:07:49 -0700 Subject: [PATCH 004/118] Remove topbar.html block from layout --- sphinx_pythia_theme/layout.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 5202e96..d8a594f 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -24,9 +24,6 @@ {%- else %}
{%- block docs_body %} - {%- if sidebars %} - {%- include "topbar.html" %} - {%- endif %}
{{ super.super() }} From ae72d750c2231f2af824554d051e16d4dd9d3ae1 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Mon, 5 Feb 2024 14:12:38 -0700 Subject: [PATCH 005/118] Remove _templates/prev-next.html block from layout --- sphinx_pythia_theme/layout.html | 3 --- sphinx_pythia_theme/page-standalone.html | 3 --- 2 files changed, 6 deletions(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index d8a594f..87a861c 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -27,9 +27,6 @@
{{ super.super() }} - {%- if theme_show_prev_next %} - {%- include "_templates/prev-next.html" %} - {%- endif %}
{%- endblock %} diff --git a/sphinx_pythia_theme/page-standalone.html b/sphinx_pythia_theme/page-standalone.html index 23ebc23..9f0c483 100644 --- a/sphinx_pythia_theme/page-standalone.html +++ b/sphinx_pythia_theme/page-standalone.html @@ -2,9 +2,6 @@
{{ apply_denested_layout(body) }} - {% if theme_show_prev_next %} - {% include "_templates/prev-next.html" %} - {% endif %}
From d809c0e54a57d3f84a459006ec31e87368c71ae7 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Mon, 5 Feb 2024 14:42:12 -0700 Subject: [PATCH 006/118] Add super() call to content block in layout --- sphinx_pythia_theme/layout.html | 1 + 1 file changed, 1 insertion(+) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 87a861c..cbf9663 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -41,6 +41,7 @@ {{ _webpack.body_post() }} {%- endblock %} +{{ super() }} {%- endblock %} {%- block footer %} From 692671b8880eb8c3f6c18d8625f250e1b1c4078c Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Mon, 5 Feb 2024 14:51:07 -0700 Subject: [PATCH 007/118] Add super() call to content block in layout --- sphinx_pythia_theme/layout.html | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index cbf9663..33e5a10 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -5,6 +5,7 @@ {%- endblock %} {%- block content %} +{{ super() }}
@@ -40,8 +41,6 @@ {%- block scripts_end %} {{ _webpack.body_post() }} {%- endblock %} - -{{ super() }} {%- endblock %} {%- block footer %} From d21ce5489199c9194d1dbb0b83dd47faed897cbf Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Mon, 5 Feb 2024 15:00:12 -0700 Subject: [PATCH 008/118] Cut the block content --- sphinx_pythia_theme/layout.html | 35 --------------------------------- 1 file changed, 35 deletions(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 33e5a10..4178869 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -6,41 +6,6 @@ {%- block content %} {{ super() }} -
- - - {%- if theme_page_layouts and pagename in theme_page_layouts %} -
- {%- else %} -
- {%- endif %} -
- {%- block docs_toc %} - {{ super() }} - {%- endblock %} - - {%- block docs_main %} - {%- if theme_page_layouts and pagename in theme_page_layouts %} - {%- include theme_page_layouts[pagename] %} - {%- else %} -
- {%- block docs_body %} -
-
- {{ super.super() }} -
-
- {%- endblock %} -
- {%- endif %} - {%- endblock %} - -
-
- - {%- block scripts_end %} - {{ _webpack.body_post() }} - {%- endblock %} {%- endblock %} {%- block footer %} From 1ab26378cd9ffc48425a9d21d02906b10be3c9fd Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Mon, 5 Feb 2024 16:45:38 -0700 Subject: [PATCH 009/118] Add banner and shim back --- sphinx_pythia_theme/layout.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 4178869..bbb1957 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -5,7 +5,8 @@ {%- endblock %} {%- block content %} -{{ super() }} +
+ {%- endblock %} {%- block footer %} From 197718acb42584c0455001633c97a579303a469c Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Mon, 5 Feb 2024 18:45:09 -0700 Subject: [PATCH 010/118] Add super() call back --- sphinx_pythia_theme/layout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index bbb1957..9410897 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -5,8 +5,8 @@ {%- endblock %} {%- block content %} -
+ {{ super() }} {%- endblock %} {%- block footer %} From 131e7b76dc0d9ec79732a169aa61073cbf761771 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Mon, 5 Feb 2024 18:56:37 -0700 Subject: [PATCH 011/118] Include _templates/prev-next.html --- sphinx_pythia_theme/page-standalone.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sphinx_pythia_theme/page-standalone.html b/sphinx_pythia_theme/page-standalone.html index 9f0c483..3284c6c 100644 --- a/sphinx_pythia_theme/page-standalone.html +++ b/sphinx_pythia_theme/page-standalone.html @@ -2,6 +2,8 @@
{{ apply_denested_layout(body) }} -
+ {% if theme_show_prev_next %} + {% include "_templates/prev-next.html" %} + {% endif %}
From b6c362c637c6d1b81fc936f863cc174c7e5ea7f2 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Mon, 5 Feb 2024 19:03:42 -0700 Subject: [PATCH 012/118] Add shim back --- sphinx_pythia_theme/layout.html | 1 + 1 file changed, 1 insertion(+) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 9410897..051d711 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -5,6 +5,7 @@ {%- endblock %} {%- block content %} +
{{ super() }} {%- endblock %} From 272511d3037a1758285fe18f197d8f9ffb979956 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Tue, 6 Feb 2024 12:58:32 -0700 Subject: [PATCH 013/118] Add more into layout --- sphinx_pythia_theme/layout.html | 54 +++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 051d711..0fac89a 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -7,6 +7,60 @@ {%- block content %}
+ + {%- block docs_navbar %} + + {%- endblock %} + + {%- if theme_page_layouts and pagename in theme_page_layouts %} +
+ {%- else %} +
+ {%- endif %} +
+ {%- block docs_sidebar %} + {%- if sidebars %} + {{ super() }} + {%- else %} +
+ {%- endif %} + {%- endblock %} + + {%- block docs_toc %} + {{ super() }} + {%- endblock %} + + {%- block docs_main %} + {%- if theme_page_layouts and pagename in theme_page_layouts %} + {%- include theme_page_layouts[pagename] %} + {%- else %} +
+ {%- block docs_body %} + {%- if sidebars %} + {%- include "topbar.html" %} + {%- endif %} +
+
+ {{ super.super() }} + {%- if theme_show_prev_next %} + {%- include "_templates/prev-next.html" %} + {%- endif %} +
+
+ {%- endblock %} +
+ {%- endif %} + {%- endblock %} + +
+
+ + {%- block scripts_end %} + {{ _webpack.body_post() }} + {%- endblock %} + {{ super() }} {%- endblock %} From 6171011f8591fe558af525c90402e40eb58feeff Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Tue, 6 Feb 2024 13:03:10 -0700 Subject: [PATCH 014/118] Remove block docs_sidebar --- sphinx_pythia_theme/layout.html | 8 -------- 1 file changed, 8 deletions(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 0fac89a..8a613ac 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -20,14 +20,6 @@
{%- endif %}
- {%- block docs_sidebar %} - {%- if sidebars %} - {{ super() }} - {%- else %} -
- {%- endif %} - {%- endblock %} - {%- block docs_toc %} {{ super() }} {%- endblock %} From d4157bf67cf464b0d55df4b33c5b942b69ca6899 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Tue, 6 Feb 2024 13:07:33 -0700 Subject: [PATCH 015/118] Remove include topbar.html --- sphinx_pythia_theme/layout.html | 3 --- 1 file changed, 3 deletions(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 8a613ac..bec5faa 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -30,9 +30,6 @@ {%- else %}
{%- block docs_body %} - {%- if sidebars %} - {%- include "topbar.html" %} - {%- endif %}
{{ super.super() }} From d1da3f117a8f6fdbefbf860902b75d726752e404 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Tue, 6 Feb 2024 13:13:04 -0700 Subject: [PATCH 016/118] Convert _templates/ to components/ --- sphinx_pythia_theme/layout.html | 2 +- sphinx_pythia_theme/page-standalone.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index bec5faa..f930b45 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -34,7 +34,7 @@
{{ super.super() }} {%- if theme_show_prev_next %} - {%- include "_templates/prev-next.html" %} + {%- include "components/prev-next.html" %} {%- endif %}
diff --git a/sphinx_pythia_theme/page-standalone.html b/sphinx_pythia_theme/page-standalone.html index 3284c6c..a8689d8 100644 --- a/sphinx_pythia_theme/page-standalone.html +++ b/sphinx_pythia_theme/page-standalone.html @@ -3,7 +3,7 @@
{{ apply_denested_layout(body) }} {% if theme_show_prev_next %} - {% include "_templates/prev-next.html" %} + {% include "components/prev-next.html" %} {% endif %}
From fb2a7905bfbfb768b94a4348c1e948feab84e4a3 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Tue, 6 Feb 2024 13:23:06 -0700 Subject: [PATCH 017/118] Remove super() call --- sphinx_pythia_theme/layout.html | 1 - 1 file changed, 1 deletion(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index f930b45..ea95506 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -50,7 +50,6 @@ {{ _webpack.body_post() }} {%- endblock %} - {{ super() }} {%- endblock %} {%- block footer %} From 93549b1560cf5e5578ed9723e7f739ec0892e763 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Tue, 6 Feb 2024 13:49:37 -0700 Subject: [PATCH 018/118] Convert components/ to _templates/components/ --- docs/conf.py | 6 ++++-- sphinx_pythia_theme/layout.html | 2 +- sphinx_pythia_theme/page-standalone.html | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 6cd8fce..96822c5 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -60,7 +60,7 @@ } jupyter_cache = "" -jupyter_execute_notebooks = "cache" +nb_execution_mode = "cache" execution_allow_errors = False execution_excludepatterns = [] execution_in_temp = False @@ -146,7 +146,9 @@ "use_repository_button": True, "use_download_button": True, "logo_only": True, - "logo_link": "https://sphinx-pythia-theme.readthedocs.io", + "logo": { + "link": "https://sphinx-pythia-theme.readthedocs.io", + }, "show_toc_level": 2, "navbar_align": "left", "navbar_links": [ diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index ea95506..3d2081c 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -34,7 +34,7 @@
{{ super.super() }} {%- if theme_show_prev_next %} - {%- include "components/prev-next.html" %} + {%- include "_templates/components/prev-next.html" %} {%- endif %}
diff --git a/sphinx_pythia_theme/page-standalone.html b/sphinx_pythia_theme/page-standalone.html index a8689d8..5f70a43 100644 --- a/sphinx_pythia_theme/page-standalone.html +++ b/sphinx_pythia_theme/page-standalone.html @@ -3,7 +3,7 @@
{{ apply_denested_layout(body) }} {% if theme_show_prev_next %} - {% include "components/prev-next.html" %} + {% include "_templates/components/prev-next.html" %} {% endif %}
From 0343cbc9ed797be1aa92035be7155cfbe4a67d3f Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Tue, 6 Feb 2024 14:06:20 -0700 Subject: [PATCH 019/118] Footer and prev-next from parent --- sphinx_pythia_theme/layout.html | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 3d2081c..f0d5d0f 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -33,9 +33,18 @@
{{ super.super() }} - {%- if theme_show_prev_next %} - {%- include "_templates/components/prev-next.html" %} - {%- endif %} + {# Article Footer #} + {% if theme_article_footer_items %} +
+ {% include "sections/footer-article.html" %} +
+ {% endif %} + {# prev-next buttons #} + {% if theme_show_prev_next %} +
+ {% include "components/prev-next.html" %} +
+ {% endif %}
{%- endblock %} From ef8ad6ebfaf0464072c87a2180e9dc0ef2ebc1d0 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Tue, 6 Feb 2024 14:09:27 -0700 Subject: [PATCH 020/118] prev-next from parent --- sphinx_pythia_theme/page-standalone.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_pythia_theme/page-standalone.html b/sphinx_pythia_theme/page-standalone.html index 5f70a43..a8689d8 100644 --- a/sphinx_pythia_theme/page-standalone.html +++ b/sphinx_pythia_theme/page-standalone.html @@ -3,7 +3,7 @@
{{ apply_denested_layout(body) }} {% if theme_show_prev_next %} - {% include "_templates/components/prev-next.html" %} + {% include "components/prev-next.html" %} {% endif %}
From 0167464344dee3dc3142fedcea9736c1917e211f Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Tue, 6 Feb 2024 20:58:43 -0700 Subject: [PATCH 021/118] More layout --- sphinx_pythia_theme/layout.html | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index f0d5d0f..97a3032 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -1,7 +1,8 @@ {%- extends "sphinx_book_theme/layout.html" %} {%- block body_tag %} - + {# set up with scrollspy to update the toc as we scroll #} + super.super() {%- endblock %} {%- block content %} @@ -9,7 +10,7 @@ {%- block docs_navbar %} -
{%- block scripts_end %} {{ _webpack.body_post() }} {%- endblock %} {%- endblock %} - -{# Footer #} -{%- block footer %} -{{ super.super() }} -{%- endblock footer %} - -{# Silence the sidebars and relbars since we define our own #} -{% block header %}{% endblock %} -{% block relbar1 %}{% endblock %} -{% block relbar2 %}{% endblock %} -{% block sidebarsourcelink %}{% endblock %} From c4ae549b61c90411d61773396b894b1355f49cf5 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Wed, 14 Feb 2024 16:49:39 -0700 Subject: [PATCH 039/118] Add back footer --- sphinx_pythia_theme/layout.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index f4d7241..b97ee9b 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -61,7 +61,11 @@
{%- block scripts_end %} - {{ _webpack.body_post() }} + {{ _webpack.body_post() }} {%- endblock %} {%- endblock %} + +{%- block footer %} +{{ super.super() }} +{%- endblock %} From 2b1005c019eb6ac2b7f2950d62ef2bec0e0405b9 Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Wed, 14 Feb 2024 16:52:53 -0700 Subject: [PATCH 040/118] footer --- sphinx_pythia_theme/layout.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index b97ee9b..48bdc67 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -67,5 +67,5 @@ {%- endblock %} {%- block footer %} -{{ super.super() }} +{{ super() }} {%- endblock %} From 35ec2d018ab41666f3448bfa95634f9337487e6d Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Wed, 14 Feb 2024 16:57:58 -0700 Subject: [PATCH 041/118] footer --- sphinx_pythia_theme/layout.html | 2 +- sphinx_pythia_theme/{ => sections}/footer-extra.html | 0 sphinx_pythia_theme/{ => sections}/footer-info.html | 0 sphinx_pythia_theme/{ => sections}/footer-logos.html | 0 sphinx_pythia_theme/{ => sections}/footer-menu.html | 0 sphinx_pythia_theme/{ => sections}/footer.html | 0 6 files changed, 1 insertion(+), 1 deletion(-) rename sphinx_pythia_theme/{ => sections}/footer-extra.html (100%) rename sphinx_pythia_theme/{ => sections}/footer-info.html (100%) rename sphinx_pythia_theme/{ => sections}/footer-logos.html (100%) rename sphinx_pythia_theme/{ => sections}/footer-menu.html (100%) rename sphinx_pythia_theme/{ => sections}/footer.html (100%) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index 48bdc67..b97ee9b 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -67,5 +67,5 @@ {%- endblock %} {%- block footer %} -{{ super() }} +{{ super.super() }} {%- endblock %} diff --git a/sphinx_pythia_theme/footer-extra.html b/sphinx_pythia_theme/sections/footer-extra.html similarity index 100% rename from sphinx_pythia_theme/footer-extra.html rename to sphinx_pythia_theme/sections/footer-extra.html diff --git a/sphinx_pythia_theme/footer-info.html b/sphinx_pythia_theme/sections/footer-info.html similarity index 100% rename from sphinx_pythia_theme/footer-info.html rename to sphinx_pythia_theme/sections/footer-info.html diff --git a/sphinx_pythia_theme/footer-logos.html b/sphinx_pythia_theme/sections/footer-logos.html similarity index 100% rename from sphinx_pythia_theme/footer-logos.html rename to sphinx_pythia_theme/sections/footer-logos.html diff --git a/sphinx_pythia_theme/footer-menu.html b/sphinx_pythia_theme/sections/footer-menu.html similarity index 100% rename from sphinx_pythia_theme/footer-menu.html rename to sphinx_pythia_theme/sections/footer-menu.html diff --git a/sphinx_pythia_theme/footer.html b/sphinx_pythia_theme/sections/footer.html similarity index 100% rename from sphinx_pythia_theme/footer.html rename to sphinx_pythia_theme/sections/footer.html From ccd125b9c068369df4008c69e01eb0026c33ca1f Mon Sep 17 00:00:00 2001 From: erogluorhan Date: Wed, 14 Feb 2024 17:05:57 -0700 Subject: [PATCH 042/118] footer --- sphinx_pythia_theme/layout.html | 7 +++++-- sphinx_pythia_theme/sections/footer.html | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/sphinx_pythia_theme/layout.html b/sphinx_pythia_theme/layout.html index b97ee9b..0601818 100644 --- a/sphinx_pythia_theme/layout.html +++ b/sphinx_pythia_theme/layout.html @@ -66,6 +66,9 @@ {%- endblock %} +{# Footer #} {%- block footer %} -{{ super.super() }} -{%- endblock %} +
+ {%- include "sections/footer.html" %} +
+{%- endblock footer %} diff --git a/sphinx_pythia_theme/sections/footer.html b/sphinx_pythia_theme/sections/footer.html index 5a1b2e9..5c07c35 100644 --- a/sphinx_pythia_theme/sections/footer.html +++ b/sphinx_pythia_theme/sections/footer.html @@ -1,4 +1,4 @@ -