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] <support@github.com>

* also update the insider version

Signed-off-by: Nicolas MASSART <NicolasMassart@users.noreply.github.com>

* 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 <nicolas.massart@consensys.net>

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Nicolas MASSART <NicolasMassart@users.noreply.github.com>
Signed-off-by: Nicolas MASSART <nicolas.massart@consensys.net>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicolas MASSART <NicolasMassart@users.noreply.github.com>
Co-authored-by: Nicolas MASSART <nicolas.massart@consensys.net>
pull/1191/head
dependabot[bot] 2 years ago committed by GitHub
parent 4bd735db9c
commit 66220355e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      CI/requirements-mkdocs-material-insider.txt
  2. 2
      CI/requirements-mkdocs-material.txt
  3. 28
      custom_theme/main.html
  4. 27
      custom_theme/partials/nav.html

@ -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

@ -1,2 +1,2 @@
mkdocs-material==8.3.9 mkdocs-material==8.5.6

@ -34,34 +34,6 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block site_nav %}
{% if nav %}
{% if page.meta and page.meta.hide %}
{% set hidden = "hidden" if "navigation" in page.meta.hide %}
{% endif %}
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" {{ hidden }}>
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
{% include "partials/nav.html" %}
</div>
<div id="readthedocs-ethical-ads" class="flat" data-ea-publisher="readthedocs" data-ea-type="image" data-ea-campaign-types="community|house"></div>
</div>
</div>
{% endif %}
{% if not "toc.integrate" in features %}
{% if page.meta and page.meta.hide %}
{% set hidden = "hidden" if "toc" in page.meta.hide %}
{% endif %}
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc" {{ hidden }}>
<div class="md-sidebar__scrollwrap">
<div class="md-sidebar__inner">
{% include "partials/toc.html" %}
</div>
</div>
</div>
{% endif %}
{% endblock %}
{% block extrahead %} {% block extrahead %}
<meta name="google-site-verification" content="{{config.extra.analytics.verification}}" /> <meta name="google-site-verification" content="{{config.extra.analytics.verification}}" />
{% endblock %} {% endblock %}

@ -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 %}
<nav class="{{ class }}" aria-label="{{ lang.t('nav.title') }}" data-md-level="0">
<label class="md-nav__title" for="__drawer">
<a href="{{ config.extra.homepage | d(nav.homepage.url, true) | url }}" title="{{ config.site_name | e }}" class="md-nav__button md-logo" aria-label="{{ config.site_name }}" data-md-component="logo">
{% include "partials/logo.html" %}
</a>
{{ config.site_name }}
</label>
{% if config.repo_url %}
<div class="md-nav__source">
{% include "partials/source.html" %}
</div>
{% endif %}
<ul class="md-nav__list" data-md-scrollfix>
{% for nav_item in nav %}
{% set path = "__nav_" ~ loop.index %}
{% set level = 1 %}
{% include "partials/nav-item.html" %}
{% endfor %}
</ul>
</nav>
Loading…
Cancel
Save