docs(scanning): Add versioning banner (#4415)

This commit is contained in:
simar7
2023-05-16 21:32:17 -06:00
committed by GitHub
parent d298415c09
commit c75d35ff61
2 changed files with 10 additions and 0 deletions

8
docs/overrides/main.html Normal file
View File

@@ -0,0 +1,8 @@
{% extends "base.html" %}
{% block outdated %}
You're not viewing the latest version.
<a href="{{ '../' ~ base_url }}">
<strong>Click here to go to latest.</strong>
</a>
{% endblock %}

View File

@@ -150,6 +150,7 @@ nav:
- Triage: community/maintainer/triage.md
theme:
name: material
custom_dir: docs/overrides
language: "en"
logo: imgs/logo-white.svg
features:
@@ -177,6 +178,7 @@ extra:
version:
method: mike
provider: mike
default: latest
plugins:
- search