Skip to content

Commit ec64431

Browse files
authoredApr 17, 2024
docs: version callout (#2012)
* docs: add warning message to older version based on Trivy docs Signed-off-by: AnaisUrlichs <urlichsanais@gmail.com> * docs: add warning message to older version based on Trivy docs Signed-off-by: AnaisUrlichs <urlichsanais@gmail.com> --------- Signed-off-by: AnaisUrlichs <urlichsanais@gmail.com>
1 parent ef8f01b commit ec64431

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed
 

‎docs/overrides/main.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{% extends "base.html" %}
2+
3+
{% block outdated %}
4+
You're not viewing the latest version.
5+
<a href="{{ '../' ~ base_url }}">
6+
<strong>Click here to go to latest.</strong>
7+
</a>
8+
{% endblock %}

‎mkdocs.yml

+8
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,17 @@ extra:
8888
version:
8989
method: mike
9090
provider: mike
91+
default: latest
9192
var:
9293
prev_git_tag: "v0.19.3"
9394
chart_version: "0.21.4"
95+
social:
96+
- icon: fontawesome/brands/twitter
97+
link: https://twitter.com/AquaTrivy
98+
- icon: fontawesome/brands/github
99+
link: https://github.com/aquasecurity/trivy
100+
- icon: fontawesome/brands/slack
101+
link: https://github.com/aquasecurity/trivy
94102

95103
plugins:
96104
- search

0 commit comments

Comments
 (0)
Please sign in to comment.