From a7dd9018c5a52a7685993803e4b3d45b18abbb13 Mon Sep 17 00:00:00 2001 From: Chris Bateman Date: Tue, 13 Aug 2024 12:23:02 +1000 Subject: [PATCH] chore: (mkdocs) upgrade mkdocs and material to latest versions (#158) * Update mkdocs and material * override * Update material --- mkdocs.yml | 2 + overrides/partials/header.html | 22 +-- overrides/partials/nav-item.html | 259 +++++++++++++++++++++++++++++++ overrides/partials/nav.html | 31 +++- requirements.txt | 6 +- 5 files changed, 298 insertions(+), 22 deletions(-) create mode 100644 overrides/partials/nav-item.html diff --git a/mkdocs.yml b/mkdocs.yml index ee8649bd..8ab0f36d 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -6,6 +6,8 @@ theme: logo: img/sos.png favicon: img/favicon.ico custom_dir: overrides + features: + - navigation.sections extra_css: - stylesheets/custom.css nav: diff --git a/overrides/partials/header.html b/overrides/partials/header.html index 236c82fd..cf4a4466 100644 --- a/overrides/partials/header.html +++ b/overrides/partials/header.html @@ -13,30 +13,30 @@ {% set site_url = site_url ~ "/index.html" %} {% endif %}
-