Add outdated warning in docs

This commit is contained in:
François Voron
2022-05-04 10:54:28 +02:00
parent dc4f73f81f
commit 60e951edc7
2 changed files with 9 additions and 0 deletions

View File

@ -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 %}

View File

@ -3,6 +3,7 @@ site_description: Ready-to-use and customizable users management for FastAPI
theme:
name: 'material'
custom_dir: docs-overrides
palette:
- scheme: default
primary: 'red'