From 4355e6bc288e14dea9597ad9c9265c0f9cad33c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Voron?= Date: Fri, 26 Jan 2024 13:32:55 +0100 Subject: [PATCH] Fix nav override for newer version of Mkdocs Material (#2444) --- docs/overrides/partials/nav.html | 7 ++++--- requirements.txt | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/overrides/partials/nav.html b/docs/overrides/partials/nav.html index d4684d0a6..93d5c8c86 100644 --- a/docs/overrides/partials/nav.html +++ b/docs/overrides/partials/nav.html @@ -1,3 +1,5 @@ +{% import "partials/nav-item.html" as item with context %} + {% set class = "md-nav md-nav--primary" %} {% if "navigation.tabs" in features %} @@ -35,12 +37,11 @@ {% endif %} - + diff --git a/requirements.txt b/requirements.txt index 5fd635b07..2671a6df1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -15,7 +15,7 @@ trio==0.24.0 # Documentation mkdocs==1.5.3 -mkdocs-material==9.1.17 +mkdocs-material==9.5.5 mkautodoc==0.2.0 # Packaging