Skip to content

Commit 05c1cb3

Browse files
authored
Test redirects
1 parent 6ec3ff1 commit 05c1cb3

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

doc/conf.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,11 @@
6161
"intro": "index.html",
6262
"support": "contact.html",
6363
"user_guide/ide-integration": "installation.html",
64-
"user_guide/message-control": "user_guide/messages/message_control.html",
6564
"additional_commands/index": "../index.html",
65+
"messages/messages_introduction": "../user_guide/messages/index.html",
66+
"messages/messages_list": "../user_guide/messages/messages_overview.html",
67+
"user_guide/message-control": "messages/message_control.html",
6668
}
67-
for m in redirects:
68-
for r in DIRECTORY_REDIRECT:
69-
assert not m.startswith(r), (
70-
f"Redirection will silentely fail: '{m}' start with '{r}' and "
71-
"the whole directory is redirected by ReadtheDoc conf already."
72-
)
7369

7470
# Add any paths that contain templates here, relative to this directory.
7571
templates_path = ["_templates"]

0 commit comments

Comments
 (0)