From 83a2f3fae8064223736e587caf810e5920743356 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcel=20St=C3=B6r?= Date: Sun, 18 Feb 2024 22:14:27 +0100 Subject: [PATCH] Bump MkDocs to latest --- docs/js/extra.js | 2 +- docs/requirements.txt | 4 ++-- mkdocs.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/js/extra.js b/docs/js/extra.js index 0f0b9fe3..65d5d061 100644 --- a/docs/js/extra.js +++ b/docs/js/extra.js @@ -26,7 +26,7 @@ } function isModulePage() { // if the breadcrumb contains 'Modules »' it must be an API page - return $("ul.wy-breadcrumbs li:contains('Modules »')").size() > 0; + return $("ul.wy-breadcrumbs li:contains('C Modules')").length > 0; } function createTocTableRow(func, intro) { // fragile attempt to auto-create the in-page anchor diff --git a/docs/requirements.txt b/docs/requirements.txt index 289deced..f26ede80 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,2 @@ -mkdocs==1.2.3 -jinja2<3.1.0 +mkdocs>=1.5.3 +jinja2>=3.1.0 diff --git a/mkdocs.yml b/mkdocs.yml index 964b8b5d..9461c4d3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -25,7 +25,7 @@ extra_css: extra_javascript: - js/extra.js -pages: +nav: - Overview: 'index.md' - Basics: - Getting started: 'getting-started.md'