summaryrefslogtreecommitdiffstats
path: root/docs/redirects.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/redirects.yml')
-rw-r--r--docs/redirects.yml38
1 files changed, 38 insertions, 0 deletions
diff --git a/docs/redirects.yml b/docs/redirects.yml
new file mode 100644
index 0000000..7077813
--- /dev/null
+++ b/docs/redirects.yml
@@ -0,0 +1,38 @@
+# Authoritative list of redirects we have configured in RTD,
+# https://pypi.org/project/readthedocs-cli/
+---
+- type: page
+ from_url: /rules/git-latest/
+ to_url: /rules/latest/
+- type: page
+ from_url: /rules/hg-latest/
+ to_url: /rules/latest/
+- type: page
+ from_url: /rules/meta-no-info/
+ # cspell:disable-next-line
+ to_url: /rules/schemas/#schemameta
+- type: page
+ from_url: /rules/deprecated-command-syntax/
+ to_url: /rules/no-free-form/
+- type: page
+ from_url: /default_rules/index/
+ to_url: /rules/
+- type: page
+ from_url: /en/latest/
+ to_url: /
+- type: page
+ from_url: /en/latest/installing.html
+ to_url: /installing/
+- type: page
+ from_url: /en/latest/rules.html
+ to_url: /rules/
+- type: page
+ from_url: /en/latest/default_rules/
+ to_url: /rules/
+- type: page
+ from_url: /en/latest/pkg/ansiblelint.rules.empty_string_compare/
+ to_url: /rules/empty-string-compare/
+# Keep this last or it will match all the other rules
+- type: sphinx_htmldir
+ from_url: ""
+ to_url: ""