Skip to content

Commit

Permalink
Add link to v3 docs. (#904)
Browse files Browse the repository at this point in the history
* Add link to v3 docs.

* allow dismissal of announcement
  • Loading branch information
LandonTClipp authored Jan 22, 2025
1 parent 812a888 commit ed09f71
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ theme:
icon: material/brightness-4
name: Switch to light mode
features:
- announce.dismiss
- content.code.annotate
- content.code.copy
- content.action.edit
Expand Down
8 changes: 7 additions & 1 deletion overrides/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,13 @@

{% block outdated %}
You're not viewing the latest version.
<a href="{{ '../' ~ base_url }}">
<a href="{{ '../' ~ base_url }}">
<strong>Click here to go to latest.</strong>
</a>
{% endblock %}
{% block announce %}
mockery is undergoing a v3 revamp.
<a href="{{ 'https://vektra.github.io/mockery/v3.0/' }}">
<strong>Visit the v3 docs and give us your input!</strong>
</a>
{% endblock %}

0 comments on commit ed09f71

Please sign in to comment.