File tree Expand file tree Collapse file tree 2 files changed +26
-7
lines changed Expand file tree Collapse file tree 2 files changed +26
-7
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,25 @@ installation.
16
16
17
17
See the ``docs/conf.py `` file for other settings.
18
18
19
+ There are three main templates that replace the defaults in ``pydata-sphinx-theme ``:
20
+
21
+ .. code-block ::
22
+
23
+ navbar_start = mpl_navbar_logo.html
24
+ navbar_center = mpl_nav_bar.html
25
+ navbar_end = mpl_icon_links.html
26
+
27
+ Note that the option ``html_logo `` need not be specified as it is included
28
+ in ``mpl_sphinx_theme/mpl_navbar_logo.html ``. The logo is stored at
29
+ ``mpl_sphinx_theme/static/images/logo2.svg ``.
30
+
31
+ To change the top navbar, edit ``mpl_sphinx_theme/mpl_nav_bar.html ``
32
+
33
+ To change the social icons, edit ``mpl_sphinx_theme/mpl_icon_links.html ``
34
+
35
+ To change the style, edit ``mpl_sphinx_theme/static/css/style.css ``
36
+
37
+
19
38
Releasing
20
39
---------
21
40
Original file line number Diff line number Diff line change 25
25
{% else %}
26
26
< ul id ="navbar-main-elements " class ="navbar-nav ">
27
27
< li class ="nav-item ">
28
- < a class ="reference internal nav-link " href ="https://matplotlib.org/plot_types/index "> Plot types</ a >
28
+ < a class ="reference internal nav-link " href ="https://matplotlib.org/stable/ plot_types/index "> Plot types</ a >
29
29
</ li >
30
30
< li class ="nav-item ">
31
- < a class ="reference internal nav-link " href ="https://matplotlib.org/gallery/index "> Examples</ a >
31
+ < a class ="reference internal nav-link " href ="https://matplotlib.org/stable/ gallery/index "> Examples</ a >
32
32
</ li >
33
33
< li class ="nav-item ">
34
- < a class ="reference internal nav-link " href ="https://matplotlib.org/tutorials/index "> Tutorials</ a >
34
+ < a class ="reference internal nav-link " href ="https://matplotlib.org/stable/ tutorials/index "> Tutorials</ a >
35
35
</ li >
36
36
< li class ="nav-item ">
37
- < a class ="reference internal nav-link " href ="https://matplotlib.org/api/index "> Reference</ a >
37
+ < a class ="reference internal nav-link " href ="https://matplotlib.org/stable/ api/index "> Reference</ a >
38
38
</ li >
39
39
< li class ="nav-item ">
40
- < a class ="reference internal nav-link " href ="https://matplotlib.org/users/index "> Usage guide</ a >
40
+ < a class ="reference internal nav-link " href ="https://matplotlib.org/stable/ users/index "> Usage guide</ a >
41
41
</ li >
42
42
< li class ="nav-item ">
43
- < a class ="reference internal nav-link " href ="https://matplotlib.org/devel/index "> Develop</ a >
43
+ < a class ="reference internal nav-link " href ="https://matplotlib.org/stable/ devel/index "> Develop</ a >
44
44
</ li >
45
45
< li class ="nav-item ">
46
- < a class ="reference internal nav-link " href ="https://matplotlib.org/users/release_notes "> Release notes</ a >
46
+ < a class ="reference internal nav-link " href ="https://matplotlib.org/stable/ users/release_notes "> Release notes</ a >
47
47
</ li >
48
48
</ ul >
49
49
{% endif %}
You can’t perform that action at this time.
0 commit comments