Skip to content

Commit 3fd78f1

Browse files
committed
DOC: Nav-bar: Add icon linking to contents
1 parent 7552cdd commit 3fd78f1

File tree

2 files changed

+6
-7
lines changed

2 files changed

+6
-7
lines changed

doc/_templates/mpl_nav_bar.html

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<ul id="navbar-main-elements" class="navbar-nav">
2-
2+
<li class="nav-item">
3+
<a class="reference internal nav-link" href="{{ pathto('contents') }}" title="Contents">
4+
<span><i class="fas fa-bars" style="font-size: 1rem"></i>&nbsp;</span>
5+
<label class="sr-only">Contents</label>
6+
</a>
7+
</li>
38
<li class="nav-item">
49
<a class="reference internal nav-link" href="{{ pathto('plot_types/index') }}">Plot types</a>
510
</li>

doc/index.rst

-6
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,3 @@ you can help!
104104
- Help other users `on discourse <https://discourse.matplotlib.org>`__
105105
- report a bug or request a feature `on GitHub <https://github.com/matplotlib/matplotlib/issues>`__
106106
- or improve the :ref:`documentation and code <developers-guide-index>`
107-
108-
109-
Site map
110-
--------
111-
112-
The :ref:`complete contents of the docs <complete_sitemap>`.

0 commit comments

Comments
 (0)