diff --git a/pdoc/templates/default/module.html.jinja2 b/pdoc/templates/default/module.html.jinja2 index 00b837f2..c50c2f32 100644 --- a/pdoc/templates/default/module.html.jinja2 +++ b/pdoc/templates/default/module.html.jinja2 @@ -150,6 +150,20 @@ border-color: var(--text); } + nav.pdoc .index-button { + display: inline-flex; + align-items: center; + color: var(--text); + border-color: var(--muted); + margin-bottom: 1rem; + margin-right: var(--pad); + float: right; + } + + nav.pdoc .index-button:hover { + border-color: var(--text); + } + nav.pdoc ul { list-style: none; padding-left: 0; @@ -665,6 +679,10 @@   {{- parentmodule -}} + + + Module Index + {% elif all_modules|length > 1 %} {% include "box-arrow-in-left.svg" %}