From 56835ca4912e2a9d26f443856eb2425fa2bcb3c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=82osz=20Sm=C3=B3=C5=82ka?= Date: Tue, 27 Aug 2024 17:52:41 +0200 Subject: [PATCH 1/2] docs: Add Plausible --- docs/layouts/partials/favicon.html | 5 ++++- netlify.toml | 6 ++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/layouts/partials/favicon.html b/docs/layouts/partials/favicon.html index 7ec15eea5..497a0f9ed 100644 --- a/docs/layouts/partials/favicon.html +++ b/docs/layouts/partials/favicon.html @@ -1 +1,4 @@ - \ No newline at end of file + + + + diff --git a/netlify.toml b/netlify.toml index 312023176..257feb027 100644 --- a/netlify.toml +++ b/netlify.toml @@ -15,3 +15,9 @@ [context.branch-deploy.environment] HUGO_VERSION = "0.110.0" HUGO_ENABLEGITINFO = "true" + +[[redirects]] + from = "/api/event" + to = "https://academy-api.threedots.tech/api/event" + force = true + status = 200 From b51f794e1af7551cad03701eb2133e10858e446d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mi=C5=82osz=20Sm=C3=B3=C5=82ka?= Date: Tue, 27 Aug 2024 18:10:32 +0200 Subject: [PATCH 2/2] Fix docs --- docs/content/pubsubs/redisstream.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/content/pubsubs/redisstream.md b/docs/content/pubsubs/redisstream.md index 310a52ec7..43a2514c3 100644 --- a/docs/content/pubsubs/redisstream.md +++ b/docs/content/pubsubs/redisstream.md @@ -55,6 +55,8 @@ Example: Example: {{% load-snippet-partial file="src-link/_examples/pubsubs/redisstream/main.go" first_line_contains="subClient := redis.NewClient" last_line_contains="panic(err)" padding_after="1" %}} +{{% /render-md %}} + #### Publishing {{% render-md %}}