File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change
1
+ import datetime
2
+
1
3
# Configuration file for the Sphinx documentation builder for
2
4
# matplotlib projects.
3
5
7
9
# -- Project information -----------------------------------------------------
8
10
9
11
project = "Matplotlib Sphinx Theme"
10
- copyright = "2021, Matplotlib Contributors"
11
- author = "Matplotlib Contributors"
12
+ copyright = (
13
+ f"2012 - { datetime .datetime .now ().year } The Matplotlib development team"
14
+ )
15
+ author = "Matplotlib Developers"
12
16
13
17
14
18
# -- General configuration ---------------------------------------------------
35
39
# and CI builds https://github.com/pydata/pydata-sphinx-theme/pull/386
36
40
"collapse_navigation" : not is_release_build ,
37
41
"show_prev_next" : False ,
38
- "navbar_center" : ["mpl_nav_bar.html" ],
39
42
"native_site" : False
40
43
}
41
44
Original file line number Diff line number Diff line change
1
+ {%- block icon_links -%}
1
2
{%- macro icon_link_nav_item(url, icon, name) -%}
2
3
{%- if url | length > 2 %}
3
4
< li class ="nav-item ">
48
49
</ li >
49
50
</ ul >
50
51
{%- endif %}
52
+ {%- endblock %}
Original file line number Diff line number Diff line change @@ -4,4 +4,7 @@ stylesheet = css/style.css
4
4
5
5
[options]
6
6
native_site = False
7
- navbar_start = mpl_navbar_logo.html
7
+ navbar_start = mpl_navbar_logo.html
8
+ navbar_center = mpl_nav_bar.html
9
+ navbar_end = mpl_icon_links.html
10
+ logo_link =
You can’t perform that action at this time.
0 commit comments