summaryrefslogtreecommitdiffstats
path: root/docs/redirects.yml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/redirects.yml')
-rw-r--r--docs/redirects.yml16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/redirects.yml b/docs/redirects.yml
new file mode 100644
index 0000000..cda53ee
--- /dev/null
+++ b/docs/redirects.yml
@@ -0,0 +1,16 @@
+# 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: /default_rules/index/
+ to_url: /rules/
+# Keep this last or it will match all the other rules
+- type: sphinx_htmldir
+ from_url: ""
+ to_url: ""