You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+13Lines changed: 13 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,3 +60,16 @@ should go under `/assets/`. To try and preserve a bit of sanity to the repo we s
60
60
Some content such as the use-cases include diagrams drawn in Excalidraw. Browsers can't handle the format natively, so instead, in addition to
61
61
commiting the `.excalidraw` orginals to the repo, we also export a transparent `.png` for inclusion in the content.
62
62
63
+
# Redirects
64
+
There is nothing more frustrating than reading some documentation or a stack trace with a link to some helpful sounding answer only for that link to be a 404. To try and minimise that pain we have built a Jekyll plugin to generate a redirect from a token to a URL. This plug-in generates a collection of static pages derived from the yaml documents in `_data/redirects`.
65
+
Each yaml document defines a namespace for redirections. For example `errors.yaml` will build pages under `/redirects/errors/`. The yaml document takes the format outlined here:
66
+
67
+
```yaml
68
+
baseUrl: https://kroxylicious.io/documentation/ #The base URL to build redirects from
69
+
delay: 3 #How long should the re-direction message be shown before loading the target. Defaults to 1.
70
+
mappings:
71
+
- name: test #the token to be the landing url
72
+
fromVersion: 0.10.0 #Optional, if not specified the latest release at time of site build is used.
73
+
toVersion: 0.12.0 #Optional, if not specified the latest release at time of site build is used.
74
+
path: /html/kroxylicious-proxy/#con-configuring-client-connections-proxy # the path within the baseUrl
0 commit comments