Repository navigation
Canonicalize docs to www.kernel.sh and exclude repo docs from the site - #712
Open
masnwilliams wants to merge 5 commits into
Open
masnwilliams wants to merge 5 commits into
masnwilliams wants to merge 5 commits into
Conversation
…and describe the landing page
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Automations to automatically generate PRs for you. |
This branch was successfully deployed
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.
summary
https://kernel.sh/docs/...), which 301s towww. This setsseo.metatags.canonicaltohttps://www.kernel.sh/docs. Mintlify appends each page's path to that base, the same setup Mintlify's own/docssubpath site uses (https://www.mintlify.com/docs)..mintignore:seo.indexing: "all"publishes files that aren't in the navigation, soAGENTS.md,CODE_OF_CONDUCT.md, and.docs/code-example-guide.mdwere live pages in the docs sitemap. They're now excluded from the build. The files stay in the repo for contributors and agents;indexing: "all"is unchanged./browsers/scaling/pools→/browsers/pools. Two marketing-site posts link to the old path, which now 404s.index.mdxhaddescription: "", so the docs landing page had no meta description. Mintlify renders the frontmatterdescriptionas a subtitle under the title, and none of its config-level options can scope a description to only the root page:seo.pathstakes folders only, and a globalseo.metatags.descriptionwould land on the ~90 pages without their own. So the description goes in frontmatter, andstyle.csshides its subtitle on the landing page only (html[data-current-path="/"] #header > div.prose). Mintlify keepsdata-current-pathin sync across client-side navigation, so other pages' subtitles are unaffected, and the landing page's layout matches production pixel for pixel.verification
mint broken-links(the CLI version CI pins, 4.2.930) reports no broken links.<meta name="description">andog:description, shows no subtitle, and its title and body positions match production at 1440 and 390. Canonicals render ashttps://www.kernel.sh/docs/src/_props/<path>; Mintlify documents/src/_propsas a local-only artifact, so production should emithttps://www.kernel.sh/docs/<path>./AGENTS,/CODE_OF_CONDUCT, and/.docs/code-example-guidereturn 404./docs/sitemap.xml. If the sitemap still listshttps://kernel.sh/docs/..., the custom domain in the Mintlify dashboard needs to change fromkernel.shtowww.kernel.sh(keeping host at/docs).