Skip to content

Commit 2e8ddae

Browse files
committed
fix(docs[redirects]): remove dirhtml-conflicting redirect entries
why: With dirhtml builder, source files like api.md and api/index.md both produce api/index.html. Redirect chains between them cause rediraffe conflicts ("already exists" warnings that fail the build). what: - Comment out api.md redirect (same output path as api/index.md) - Comment out pytest-plugin.md redirect (conflicts with pytest-plugin/index.md redirect in dirhtml)
1 parent 12bbe35 commit 2e8ddae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/redirects.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"windows.md" "reference/windows.md"
55
"traversal.md" "topics/traversal.md"
66
"sessions.md" "reference/sessions.md"
7-
"api.md" "reference/index.md"
8-
"pytest-plugin.md" "pytest-plugin/index.md"
7+
# "api.md" → api/index.md: not needed with dirhtml (same output path)
8+
# "pytest-plugin.md" → api/pytest-plugin/index.md: conflicts with pytest-plugin/index.md redirect in dirhtml
99
"reference/common.md" "api/common.md"
1010
"reference/constants.md" "api/constants.md"
1111
"reference/exceptions.md" "api/exceptions.md"

0 commit comments

Comments
 (0)