Skip to content

Commit

Permalink
Merge pull request #652 from LandonTClipp/mike
Browse files Browse the repository at this point in the history
Add mike versioning to docs
  • Loading branch information
LandonTClipp committed Jun 27, 2023
2 parents 3f9cb26 + 5cfebcb commit 8cb1114
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ nav:
extra_css:
- stylesheets/extra.css

extra:
version:
provider: mike

plugins:
- glightbox
- social
Expand Down
8 changes: 8 additions & 0 deletions 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 8cb1114

Please sign in to comment.