From 180d41f63c8f0a0e32ac194a53c15f593c6754d7 Mon Sep 17 00:00:00 2001 From: jamesmaa Date: Sat, 19 Oct 2024 08:45:08 -0700 Subject: [PATCH] Add yomichan migration announcement --- mkdocs.yml | 2 ++ overrides/main.html | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 overrides/main.html diff --git a/mkdocs.yml b/mkdocs.yml index 6665de7..a87b090 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -30,7 +30,9 @@ theme: - content.code.annotate - content.code.copy - content.tabs.link + - announce.dismiss language: en + custom_dir: overrides palette: - media: "(prefers-color-scheme: light)" scheme: default diff --git a/overrides/main.html b/overrides/main.html new file mode 100644 index 0000000..40d84c9 --- /dev/null +++ b/overrides/main.html @@ -0,0 +1,6 @@ + +{% extends "base.html" %} + +{% block announce %} + Coming from Yomichan? Check out the Yomichan migration guide +{% endblock %} \ No newline at end of file