Skip to content

Commit

Permalink
docs(scanning): Add versioning banner (#4415)
Browse files Browse the repository at this point in the history
  • Loading branch information
simar7 authored May 17, 2023
1 parent d298415 commit c75d35f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/overrides/main.html
Original file line number Diff line number Diff line change
@@ -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 %}
2 changes: 2 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -177,6 +178,7 @@ extra:
version:
method: mike
provider: mike
default: latest

plugins:
- search
Expand Down

0 comments on commit c75d35f

Please sign in to comment.