We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fdba76 commit d955879Copy full SHA for d955879
templates/Caddyfile.j2
@@ -83,6 +83,19 @@ http://{{ caddy.addresses.main }}, http://{{ ansible_fqdn }} {
83
# Make search go to the actual docs instead of the mostly-empty brochure site.
84
redir /search.html /stable/search.html?{query} temporary
85
86
+ # Redirect contributing guides to latest version.
87
+ # If you go to /devel/...?reallystable=1 you can avoid the redirect.
88
+ @devel {
89
+ path /stable/devel /stable/devel/*
90
+ not query reallystable=1
91
+ }
92
+ handle @devel {
93
+ route {
94
+ uri strip_prefix /stable
95
+ redir * /devdocs{uri}
96
97
98
+
99
# Place the brochure site at the top level.
100
@brochure file {
101
root {{ caddy.site_dir }}/mpl-brochure-site
0 commit comments