Skip to content

Commit

Permalink
docs: add outdated message (#84)
Browse files Browse the repository at this point in the history
Fixes #83
  • Loading branch information
afuetterer committed May 27, 2024
1 parent 5c8d034 commit 7218b47
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ nav:

theme:
name: material
custom_dir: src/overrides
features:
- content.action.edit
- content.action.view
Expand Down
8 changes: 8 additions & 0 deletions docs/src/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 %}

0 comments on commit 7218b47

Please sign in to comment.