From 283970dea6c14588e7e70dcdb8d6d67bc2b24413 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Krzy=C5=9Bk=C3=B3w?= Date: Mon, 23 Sep 2024 19:34:43 +0200 Subject: [PATCH] docs: use discord invite macro --- docs/discord.md | 11 ++++++----- docs/discord2.md | 3 --- mkdocs.yml | 2 ++ overrides/discord-widget.html | 12 ------------ 4 files changed, 8 insertions(+), 20 deletions(-) delete mode 100644 docs/discord2.md delete mode 100644 overrides/discord-widget.html diff --git a/docs/discord.md b/docs/discord.md index 4030eb3c..ce2e0915 100644 --- a/docs/discord.md +++ b/docs/discord.md @@ -1,9 +1,10 @@ --- -template: redirect.html -location: https://discord.gg/xGNzmej4KE +nype_config: + js: + discord_invite: https://discord.gg/xGNzmej4KE --- +# Nype Support Discord -# Discord - -[https://discord.gg/xGNzmej4KE](https://discord.gg/xGNzmej4KE) +Users of our products and general SAP enthusiasts alike are welcome to join our Discord community server. +{% include 'discord_invite.md' %} \ No newline at end of file diff --git a/docs/discord2.md b/docs/discord2.md deleted file mode 100644 index c3b1c259..00000000 --- a/docs/discord2.md +++ /dev/null @@ -1,3 +0,0 @@ ---- -template: discord-widget.html ---- \ No newline at end of file diff --git a/mkdocs.yml b/mkdocs.yml index b8b60816..905d0ab3 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -53,6 +53,8 @@ plugins: - tags: tags_file: tags.md - search + - macros: + on_error_fail: !ENV [CI, false] - social: enabled: !ENV [CI, false] cards_layout_options: diff --git a/overrides/discord-widget.html b/overrides/discord-widget.html deleted file mode 100644 index 14df210d..00000000 --- a/overrides/discord-widget.html +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - {{ config.site_name }} - - - - \ No newline at end of file