(mkdocs) add announcement bar, for the bounty program

This commit is contained in:
Laurent 2024-02-01 16:50:55 +00:00 committed by Cédric Deltheil
parent 5f474d01f8
commit 91034abb25
2 changed files with 9 additions and 0 deletions

7
docs/overrides/main.html Normal file
View file

@ -0,0 +1,7 @@
{% extends "base.html" %}
{% block announce %}
We have a <a href="https://finegrain.ai/bounties">Bounty Program</a> 💰!
{% endblock %}

View file

@ -8,6 +8,7 @@ theme:
favicon: assets/favicon.svg
logo: assets/favicon.svg
name: material
custom_dir: docs/overrides
palette:
primary: deep orange
accent: deep orange
@ -21,6 +22,7 @@ theme:
- toc.follow
- navigation.tabs.sticky
- content.code.copy
- announce.dismiss
plugins:
- search
- tags