From a9073241b236cfb605fc211f20ec2ca8442c5322 Mon Sep 17 00:00:00 2001 From: vbarda Date: Tue, 14 Jan 2025 13:31:39 -0500 Subject: [PATCH] add css for navbar depth --- docs/docs/stylesheets/hide_guides.css | 10 ---------- docs/overrides/main.html | 10 ++++++++++ 2 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 docs/docs/stylesheets/hide_guides.css diff --git a/docs/docs/stylesheets/hide_guides.css b/docs/docs/stylesheets/hide_guides.css deleted file mode 100644 index b2fd220c5..000000000 --- a/docs/docs/stylesheets/hide_guides.css +++ /dev/null @@ -1,10 +0,0 @@ -.md-nav__item a[href$="agentic_concepts/"], -.md-nav__item a[href$="guide2/"], -.md-nav__item a[href$="topic1/"], -.md-nav__item a[href$="topic2/"] { - display: none !important; -} - -li:has(> a[href$="concepts/"]) > button.md-nav__btn { - display: none !important; -} diff --git a/docs/overrides/main.html b/docs/overrides/main.html index 674bdcac9..e2800c923 100644 --- a/docs/overrides/main.html +++ b/docs/overrides/main.html @@ -158,6 +158,16 @@ background-color: #CFC9FA; color: #000000; } + + /* control the navbar depth */ + [data-md-level="2"] .md-nav { + display: none; + } + + /* disable the collapse/expand icon in the navar */ + .md-nav__icon { + display: none; + } {% endblock %}