Skip to content

Commit 7811df8

Browse files
committed
feat: enable version warning
1 parent 8e45d07 commit 7811df8

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

Diff for: .gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
# Created by https://www.gitignore.io/api/osx,linux,python,windows,pycharm,visualstudiocode
32
# Edit at https://www.gitignore.io/?templates=osx,linux,python,windows,pycharm,visualstudiocode
43

@@ -304,3 +303,4 @@ node_modules
304303
api/
305304
site/
306305
!404.html
306+
!docs/overrides/*.html

Diff for: 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 %}

Diff for: mkdocs.yml

+2
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ theme:
5858
repo: fontawesome/brands/github
5959
logo: media/aws-logo-light.svg
6060
favicon: media/aws-logo-light.svg
61+
custom_dir: docs/overrides
6162

6263
markdown_extensions:
6364
- admonition
@@ -93,3 +94,4 @@ extra_javascript:
9394
extra:
9495
version:
9596
provider: mike
97+
default: latest

0 commit comments

Comments
 (0)