fix(compose): serve the child pages, not the overview - #101
Merged
Merged
Conversation
Every page under /docs/jobs/compose/ served the overview in production. The sitemap and llms.txt listed all 25, so the build saw them, but the routes resolved to the parent. `mint dev` did not reproduce it. `jobs/compose.mdx` sat beside the `jobs/compose/` directory and the group carried `root: "jobs/compose"`. Every other section with children here uses `<dir>/index.mdx` as its first page and no `root` (storage, automation), and both resolve children correctly in production. Compose now matches. `/docs/jobs/compose` still serves the overview, so no inbound link moves.
a-essawy
added a commit
that referenced
this pull request
Sep 24, 2026
…103) A generated table cell held `[{time:0,value:0},{time:1,value:1}]`; MDX reads a bare `{...}` as a JSX expression, the page failed to parse, and Mintlify served the section root as the body of all 24 child pages while reporting every deploy a success. Generator fixed in rendobar/rendobar#798; these are the regenerated pages. Also reverts two changes I shipped on a wrong diagnosis: #101 (moving the overview to index.mdx and dropping `root`, which cost the nav behaviour) and #102 (a validator rule for a collision that was never the cause). Adds `validate:build` = `mint validate`, the only check that sees a build error, and the one that was missing.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Every page under
/docs/jobs/compose/served the overview in production. The sitemap and llms.txt listed all 25, so the build saw them; the routes resolved to the parent.mint devdid not reproduce it.Cause:
jobs/compose.mdxsat beside thejobs/compose/directory, and the group carriedroot: "jobs/compose". Every other section with children in this repo uses<dir>/index.mdxas the first page and noroot—storage/index,automation/index— and both resolve their children correctly on the live site. Compose now matches them./docs/jobs/composestill serves the overview, so no inbound link moves: the changelog entries, the redirects and the apex all keep working.Trade-off worth stating:
rootwas what made clicking the Compose parent open the overview and hold the child highlight. Dropping it puts compose back to how Storage and Automation behave. A broken section beats a nav nicety, and a fix for the nav can come separately once it is tested against a real Mintlify build rather thanmint dev.