Skip to content
This repository has been archived by the owner on Jan 8, 2025. It is now read-only.

Fix path checking logic #503

Merged
merged 1 commit into from
Nov 19, 2024
Merged

Fix path checking logic #503

merged 1 commit into from
Nov 19, 2024

Conversation

ptgott
Copy link
Contributor

@ptgott ptgott commented Oct 31, 2024

categoryPagePathForDir considers a page called introduction.mdx the same as the root of the containing directory. This is incorrect, and this equivalence actually depends on whether a redirect exists between the introduction page and the directory root.

`categoryPagePathForDir` considers a page called `introduction.mdx` the
same as the root of the containing directory. This is incorrect, and
this equivalence actually depends on whether a redirect exists between
the `introduction` page and the directory root.
@ptgott ptgott requested a review from avatus as a code owner October 31, 2024 20:47
Copy link

vercel bot commented Oct 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 19, 2024 2:10pm

@ptgott ptgott merged commit 4b5cb28 into main Nov 19, 2024
5 of 6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants