Move FAQs into /docs/faqs#5075
Open
bgrenon wants to merge 3 commits into
Open
Conversation
Move all 129 FAQ pages from content/faqs to content/docs/faqs so they live under /docs/* (trusted by Ask AI, included in llms.txt). Frontmatter mapped to docs shape; each page carries a redirectFrom for its old /faqs URL. Co-authored-by: Isaac
Render /docs/faqs as a searchable index (reusing FaqSearch/FaqCard), add the top-level FAQs header entry and icon, a self-contained FAQ zone (empty sidebar, FAQs breadcrumb), copy-page placement, and /faqs -> /docs/faqs redirects. Co-authored-by: Isaac
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
# Conflicts: # content/docs/faqs/change-region-existing-neon-project.md # content/docs/faqs/check-neon-project-region.md # content/docs/faqs/check-postgresql-version-neon.md # content/docs/faqs/create-new-database-neon-project.md # content/docs/faqs/create-new-neon-project.md # content/docs/faqs/delete-database-neon.md # content/docs/faqs/failed-to-fetch-error-tables-view.md # content/docs/faqs/rotate-database-credentials-after-breach.md # content/docs/faqs/rotate-database-password-after-leak.md # content/docs/faqs/rotate-database-url-connection-string.md # content/docs/faqs/rotate-neon-api-keys.md # content/docs/faqs/where-find-database-connection-string.md # next.config.js
Collaborator
|
@bgrenon close (not merge) this PR? |
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.
Ask AI trusts content under
/docs/*and treats everything else as untrusted. FAQs lived at/faqs, outside the trust boundary and excluded fromllms.txt. This moves the entire FAQ corpus into/docs/faqsso it's trusted and agent-discoverable.preview:
https://neon-next-git-docs-faqs-to-docset-neondatabase.vercel.app/docs/faqs
Commit 1
Commit 1:
docs: forklift FAQs…(content, ~130 files)Mechanical move of all 129 FAQ pages from
content/faqs/tocontent/docs/faqs/, frontmatter mapped to docs shape, and aredirectFromon each. Mostly renames, so skim.Commit 2
Commit 2:
feat: add FAQ hub…(16 files)These are component/website changes to support the move:
Reuses the existing
FaqSearch/FaqCardcomponents to render/docs/faqsas a searchable index via a special case in the docs[...slug]route.Gives FAQ pages a distinct zone with a top-level FAQs header item and icon, a full-width title with the copy-page button, an empty bordered sidebar, and a
FAQsbreadcrumb.Adds the
/faqs→/docs/faqsredirects and repoints the footer link.Result
/docs/faqs/*, trusted and included inllms.txt; searchable hub at/docs/faqs./faqsURLs 308 to the new ones; footer "FAQs" link repointed.This pull request and its description were written by Isaac.