Docs Updates #4 - Move Framework Content#669
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Pull request overview
Reorganizes framework-specific tutorials into a dedicated /frameworks/<framework>/ content hierarchy with per-framework hub pages, adds a /frameworks index, framework-aware navigation (dropdown + section header) in the docs layout, and a comprehensive set of 301 redirects from the old tutorial URLs. Also adds a section frontmatter field for grouping ("Start Here" vs "Guides") and small fixes to slugs, technologies, and the redirect rule key construction.
Changes:
- New
/frameworkshub + per-framework overview pages, plusFrameworkLinks,FrameworkLinkList, andFrameworkGuideListcomponents and a framework-aware sidebar with a framework dropdown. - Moves the old
tutorials/getting-started/*framework guides tocontent/frameworks/<slug>/<topic>.mdwith new slugs,sectiongrouping, and per-framework.navigation.yml; updates internal links and adds a 50+ entryredirects.json. - Tutorial page now shows framework chips derived from
technologies; layout/nav adjustments and afindNavNodehelper;redirects.jsonkeys no longer includeBASE_URL(the rule keys are now relative paths).
Reviewed changes
Copilot reviewed 114 out of 117 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| redirects.json | Adds 301 redirects from old tutorial paths to new framework paths. |
| nuxt.config.ts | Drops BASE_URL prefix from redirect rule keys. |
| content.config.ts | Adds section enum to content schema. |
| content/frameworks/**/* | Moves tutorials into framework folders, adds section/navigation frontmatter, new index pages, and .navigation.yml icons/titles. |
| content/tutorials/**/* | Slug/technology fixes; new create-reusable-blocks-... page; removes tutorials/getting-started/index.md. |
| content/guides/**/* | Updates cross-links to new framework paths. |
| content/index.md | Adds :framework-links and points CTA to /frameworks. |
| app/pages/frameworks/index.vue | New frameworks hub page. |
| app/pages/[...slug].vue | Adds 404 for .navigation paths and framework breadcrumb/icon header. |
| app/pages/tutorials/[category]/[...slug].vue | Replaces generated header image with framework chips. |
| app/layouts/docs.vue | Adds framework dropdown and dedicated framework sidebar nav. |
| app/components/content/FrameworkLinks.vue, FrameworkGuideList.vue, app/components/FrameworkLinkList.vue | New content components for listing frameworks/guides/tutorials. |
| app/components/TutorialsArticles.vue | Cache key now includes limit to avoid collisions. |
| app/utils/findNavNode.ts, app/types/content.d.ts | Helper for nav lookups and content type augmentation. |
| app/app.config.ts | Adds "Frameworks" nav entry; relabels "Deploy" → "Hosting"; moves Tutorials under Resources. |
| README.md | Documents framework authoring conventions. |
| .gitignore | Ignores .claude/scheduled_tasks.lock. |
Comments suppressed due to low confidence (1)
content/frameworks/01.nextjs/10.multilingual-content.md:7
- Removing the only
- nextjslist item leavestechnologies:as an empty (null) key in the frontmatter. Percontent.config.ts,technologiesisz.array(z.string()).optional(), which accepts undefined but not null — this will likely fail content schema validation. Either remove thetechnologies:key entirely, or keep a properly indented entry. The same problem exists incontent/frameworks/12.swift/02.authentication.mdandcontent/frameworks/07.laravel/01.data-fetching.md, where the only list item was similarly removed.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Instead of having a messy tutorial section, this PR creates a new framework section and moves those tutorials into their proper locations. It also adds nice labels for the navigation, making it easy to navigate between them. It adds framework overview pages, which are good for SEO purposes and also nice for users / developers to easily find framework content.
Framework Index Page
Individual Framework Page
This pull request introduces a comprehensive "Frameworks" section to the documentation site, enhancing navigation, discoverability, and contextual presentation of framework-specific guides and tutorials. It implements new components for listing frameworks and their guides, updates the navigation structure, and improves the user experience for both framework and tutorial pages.
Frameworks Section & Navigation Improvements:
/frameworkshub page that lists all supported frameworks, each with a guide count and icon, using the newFrameworkLinksandFrameworkLinkListcomponents. (app/pages/frameworks/index.vue,app/components/content/FrameworkLinks.vue,app/components/FrameworkLinkList.vue,README.md) [1] [2] [3] [4]app/components/content/FrameworkGuideList.vue)app/layouts/docs.vue) [1] [2] [3] [4]Page Presentation & UX Enhancements:
app/pages/[...slug].vue,app/pages/tutorials/[category]/[...slug].vue) (app/pages/[...slug].vueR15-R23, app/pages/[...slug].vueR55-R80, app/pages/[...slug].vueL56-R120, app/pages/tutorials/[category]/[...slug].vueL2-R2, app/pages/tutorials/[category]/[...slug].vueL28-R48, app/pages/tutorials/[category]/[...slug].vueR73-L76).navigationfiles are not directly accessible by returning a 404 error for such routes. (app/pages/[...slug].vue) (app/pages/[...slug].vueR15-R23)Navigation Structure Updates:
app/app.config.ts) [1] [2] [3]Other Improvements:
app/components/TutorialsArticles.vue)These changes collectively provide a more intuitive and powerful framework-centric experience for users browsing documentation and tutorials.