From 66220355e50f89b95605c3b9f7ffc544045e687b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Oct 2022 12:52:02 +0200 Subject: [PATCH] Bump mkdocs-material from 8.3.9 to 8.5.6 in /CI (#1186) * Bump mkdocs-material from 8.3.9 to 8.5.6 in /CI Bumps [mkdocs-material](https://github.com/squidfunk/mkdocs-material) from 8.3.9 to 8.5.6. - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](https://github.com/squidfunk/mkdocs-material/compare/8.3.9...8.5.6) --- updated-dependencies: - dependency-name: mkdocs-material dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * also update the insider version Signed-off-by: Nicolas MASSART * remove nav customisation Restores the nav in insider as the new theme has changes that makes our customisations incompatible. But at the same time the theme evolved to make our customisations useless as it now has the behaviour that we wanted and implemented in the overrides. The ethical ads part is also useless as Besu pays RTD for no ads. Makes it simpler now. Signed-off-by: Nicolas MASSART Signed-off-by: dependabot[bot] Signed-off-by: Nicolas MASSART Signed-off-by: Nicolas MASSART Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nicolas MASSART Co-authored-by: Nicolas MASSART --- CI/requirements-mkdocs-material-insider.txt | 2 +- CI/requirements-mkdocs-material.txt | 2 +- custom_theme/main.html | 28 --------------------- custom_theme/partials/nav.html | 27 -------------------- 4 files changed, 2 insertions(+), 57 deletions(-) delete mode 100644 custom_theme/partials/nav.html diff --git a/CI/requirements-mkdocs-material-insider.txt b/CI/requirements-mkdocs-material-insider.txt index 3767a8bc..fdd3f48e 100644 --- a/CI/requirements-mkdocs-material-insider.txt +++ b/CI/requirements-mkdocs-material-insider.txt @@ -1 +1 @@ -git+https://${MKDOCS_GITHUB_USER}:${MKDOCS_GITHUB_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git@8.3.9-insiders-4.21.0 +git+https://${MKDOCS_GITHUB_USER}:${MKDOCS_GITHUB_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git@8.5.6-insiders-4.25.4 diff --git a/CI/requirements-mkdocs-material.txt b/CI/requirements-mkdocs-material.txt index f6118058..6783c52e 100644 --- a/CI/requirements-mkdocs-material.txt +++ b/CI/requirements-mkdocs-material.txt @@ -1,2 +1,2 @@ -mkdocs-material==8.3.9 +mkdocs-material==8.5.6 diff --git a/custom_theme/main.html b/custom_theme/main.html index 7f847708..f4d94c20 100644 --- a/custom_theme/main.html +++ b/custom_theme/main.html @@ -34,34 +34,6 @@ {% endif %} {% endblock %} -{% block site_nav %} - {% if nav %} - {% if page.meta and page.meta.hide %} - {% set hidden = "hidden" if "navigation" in page.meta.hide %} - {% endif %} - - {% endif %} - {% if not "toc.integrate" in features %} - {% if page.meta and page.meta.hide %} - {% set hidden = "hidden" if "toc" in page.meta.hide %} - {% endif %} - - {% endif %} -{% endblock %} - {% block extrahead %} {% endblock %} diff --git a/custom_theme/partials/nav.html b/custom_theme/partials/nav.html deleted file mode 100644 index 829cd3f7..00000000 --- a/custom_theme/partials/nav.html +++ /dev/null @@ -1,27 +0,0 @@ -{% set class = "md-nav md-nav--primary" %} -{% if "navigation.tabs" in features %} - {% set class = class ~ " md-nav--lifted" %} -{% endif %} -{% if "toc.integrate" in features %} - {% set class = class ~ " md-nav--integrated" %} -{% endif %} -