File tree Expand file tree Collapse file tree 4 files changed +40
-12
lines changed Expand file tree Collapse file tree 4 files changed +40
-12
lines changed Original file line number Diff line number Diff line change 33{%- import "static/webpack-macros.html" as _webpack with context %}
44
55{% block body_tag %}
6- < body data-spy =" scroll " data-target =" #bd-toc-nav " data-offset =" 80 " >
7- < div class ="document ">
6+ {{- super() }}
7+ < div class ="document ">
88{%- endblock %}
99{%- block content %}
10- {# Added to support a banner with an alert #}
11- < div class ="container-fluid " id ="banner "> </ div >
10+ {# checkbox to toggle primary sidebar #}
11+ < input type ="checkbox " class ="sidebar-toggle " name ="__primary " id ="__primary ">
12+ < label class ="overlay overlay-primary " for ="__primary "> </ label >
1213
13- {% block docs_navbar %}{{ super() }}{% endblock %}
14- < main role ="main ">
15- {% block body %} {% endblock %}
16- </ main >
14+ {# Checkboxes to toggle the secondary sidebar #}
15+ < input type ="checkbox " class ="sidebar-toggle " name ="__secondary " id ="__secondary ">
16+ < label class ="overlay overlay-secondary " for ="__secondary "> </ label >
17+
18+ {# A search field pop-up that will only show when the search button is clicked #}
19+ < div class ="search-button__wrapper ">
20+ < div class ="search-button__overlay "> </ div >
21+ < div class ="search-button__search-container ">
22+ {% include "../components/search-field.html" %}
23+ </ div >
24+ </ div >
25+
26+ {%- if theme_announcement -%}
27+ < div class ="bd-header-announcement container-fluid " id ="header-announcement ">
28+ {% include "sections/announcement.html" %}
29+ </ div >
30+ {%- endif %}
31+
32+ {% block docs_navbar %}{{ super() }}{% endblock %}
33+ < main role ="main ">
34+ {% block body %} {% endblock %}
35+ </ main >
1736
1837 {%- block scripts_end %}{{ super() }}{%- endblock %}
1938{%- endblock %}
Original file line number Diff line number Diff line change @@ -121,6 +121,11 @@ <h1>Matplotlib: Visualization with Python</h1>
121121 <!-- optional important news -->
122122 < h3 > News</ h3 >
123123 < div class ="news__item--highlight ">
124+ < h5 class ="date "> September 16, 2022</ h5 >
125+ < a href ="https://discourse.matplotlib.org/t/matplotlib-announce-ann-matplotlib-3-6-0/23129 " class ="link--offsite "> Matplotlib 3.6.0 Released</ a >
126+ </ div >
127+
128+ < div class ="news__item ">
124129 < h5 class ="date "> May 2, 2022</ h5 >
125130 < a href ="https://discourse.matplotlib.org/t/matplotlib-announce-ann-matplotlib-3-5-2/22805 " class ="link--offsite "> Matplotlib 3.5.2 Released</ a >
126131 </ div >
Original file line number Diff line number Diff line change 3636html_theme = "mpl_sphinx_theme"
3737html_favicon = "_static/favicon.ico"
3838html_theme_options = {
39- "logo_link" : "https://matplotlib.org/stable/" ,
40- "native_site" : False ,
39+ "logo" : {
40+ "link" : "https://matplotlib.org/stable/" ,
41+ "image_light" : "images/logo2.svg" ,
42+ "image_dark" : "images/logo_dark.svg" ,
43+ },
44+ "navbar_links" : "server-stable" ,
4145 "footer_items" : ["landing_footer" ],
4246}
4347
Original file line number Diff line number Diff line change 11jinja2 > 3
2- pydata -sphinx-theme< 0.9 .0
3- mpl-sphinx-theme
2+ mpl -sphinx-theme~= 3.6 .0
3+ pygments >= 2.7
44sphinx
55sphinx-notfound-page
You can’t perform that action at this time.
0 commit comments