Skip to content

Commit 9e40be1

Browse files
committed
[no ci] docs: add breadcrumbs for easier navigation
1 parent 28bf606 commit 9e40be1

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

docsrc/source/_static/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,8 @@
2020
.bd-sidebar-primary div#rtd-footer-container {
2121
margin: 0;
2222
}
23+
24+
ul.bd-breadcrumbs {
25+
margin-top: -1rem;
26+
margin-bottom: 0.5rem;
27+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{% extends "sphinx_book_theme/layout.html" %}
2+
3+
{% block docs_body %}
4+
{# This is empty and only shows up if text has been highlighted by the URL #}
5+
{% include "components/searchbox.html" %}
6+
<article class="bd-article">
7+
{% include "pydata_sphinx_theme/components/breadcrumbs.html" %}
8+
{% block body %}{% endblock %}
9+
</article>
10+
{% endblock docs_body %}

0 commit comments

Comments
 (0)