docs: specify redirects relative to docs-root
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 21 Oct 2020 11:42:30 +0000 (13:42 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 21 Oct 2020 18:11:39 +0000 (18:11 +0000)
commit47f52e83d1074b3833a4a4c98b87ac23c04a38f6
treef2b4220c32dc48bb6819ed0ae3faa232cd7db4e4
parent7daf953bc0e67f4f205560138f8fdedb2ec6ca57
docs: specify redirects relative to docs-root

It's a lot easier to reason about redirects if they're specified
relative to thje docs-root, so let's do that instead.

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7174>
docs/_exts/redirects.py