Skip to content

Commit

Permalink
Add version warning
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaojunfeng committed Feb 17, 2024
1 parent 7e75cc8 commit 7bbc88b
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 @@ -125,6 +125,7 @@ theme:
code: Roboto Mono
logo: assets/wannier-logo-squared.svg
favicon: assets/wannier-logo-squared.png
custom_dir: overrides

extra:
status:
Expand Down
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 %}

0 comments on commit 7bbc88b

Please sign in to comment.