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'