Skip to content

Commit c33241d

Browse files
Add redirects for docs
Signed-off-by: Ayan Sinha Mahapatra <[email protected]>
1 parent 4c68fba commit c33241d

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

docs/source/conf.py

+6
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,14 @@
2929
# ones.
3030
extensions = [
3131
"sphinx.ext.intersphinx",
32+
"sphinx_reredirects",
3233
]
3334

35+
36+
# Redirects for olds pages
37+
# See https://documatt.gitlab.io/sphinx-reredirects/usage.html
38+
redirects = {}
39+
3440
# This points to aboutcode.readthedocs.io
3541
# In case of "undefined label" ERRORS check docs on intersphinx to troubleshoot
3642
# Link was created at commit - https://github.com/nexB/aboutcode/commit/faea9fcf3248f8f198844fe34d43833224ac4a83

setup.cfg

+3-1
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,6 @@ testing =
6060
docs =
6161
Sphinx>=5.0.2
6262
sphinx-rtd-theme>=1.0.0
63-
doc8>=0.11.2
63+
sphinx-reredirects >= 0.1.2
64+
doc8>=0.11.2
65+

0 commit comments

Comments
 (0)