From 2ff705fba07044d7e013cee755e0671cba9ab2a8 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Tue, 19 Nov 2024 22:31:43 -0600 Subject: [PATCH] Add breadcrumbs to the documentation (#9242) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Screenshot 2024-11-19 at 2 10 10 PM Screenshot 2024-11-19 at 2 10 25 PM --- docs/stylesheets/extra.css | 9 +++++++++ mkdocs.template.yml | 1 + 2 files changed, 10 insertions(+) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index dcf369d7c291..f64e134f6a81 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -201,3 +201,12 @@ h3.cli-reference { .toclink:hover { color: var(--md-accent-fg-color) !important; } + + +/* Omit the first breadcrumb item, which is the "Introduction" */ +.md-path__list > .md-path__item:first-of-type { + display: none; +} +.md-path__list > .md-path__item:nth-of-type(2):before { + display: none; +} diff --git a/mkdocs.template.yml b/mkdocs.template.yml index 31b813e15a2b..38bd9b95c1ff 100644 --- a/mkdocs.template.yml +++ b/mkdocs.template.yml @@ -4,6 +4,7 @@ theme: logo: assets/logo-letter.svg favicon: assets/favicon.ico features: + - navigation.path - navigation.instant - navigation.instant.prefetch - navigation.instant.progress