You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
refactor(server): drop raw markdown route served by Content - #354
This PR removes the template's /raw/[...slug].md route. @nuxt/content already registers the same route when nuxt-llms is installed, so it was shadowing it, and without it the production build serves /raw/getting-started/installation.md and /raw/essentials/markdown-syntax.md byte for byte like the live template. minimark goes with it, nothing else used it.
That was the template's last server handler on h3, so there is nothing left to move to nuxt/server. Content's own route gets Nuxt 5 support in nuxt/content#3891.
Summary by CodeRabbit
Removed Features
Removed the raw Markdown endpoint for serving documentation pages.
Requests to the former raw Markdown URLs are no longer processed through this endpoint.
Chores
Removed an unused package dependency from the project configuration.
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Advanced
Run ID: 5459185a-cab7-45b3-b54f-443dc4860c56
📥 Commits
Reviewing files that changed from the base of the PR and between 393cc93 and 6e5a376.
⛔ Files ignored due to path filters: 1
pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing: 2
package.json
server/routes/raw/[...slug].md.get.ts
💤 Files with no reviewable changes: 2
package.json
server/routes/raw/[...slug].md.get.ts
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.
📝 Walkthrough
The raw Markdown endpoint was deleted, and the minimark dependency was removed from package.json.
Changes: Raw Markdown endpoint removal
Layer / File(s)
Summary
Remove raw Markdown serving server/routes/raw/[...slug].md.get.ts, package.json
The raw Markdown route was deleted, including slug validation, documentation lookup, 404 handling, metadata injection, and Markdown response generation. The minimark dependency was removed.
The template retains raw Markdown access through the configured content integration. No actionable issue remains before merge.
Pre-merge checks: 5
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title clearly identifies the main change: removing the server raw Markdown route because Content serves the route.
Docstring Coverage
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage
Explanation
No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files.
✨ Finishing Touches
📝 Generate docstrings
Commit to this branch
Create a new PR
🧪 Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
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
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.
This PR removes the template's
/raw/[...slug].mdroute.@nuxt/contentalready registers the same route whennuxt-llmsis installed, so it was shadowing it, and without it the production build serves/raw/getting-started/installation.mdand/raw/essentials/markdown-syntax.mdbyte for byte like the live template.minimarkgoes with it, nothing else used it.That was the template's last server handler on h3, so there is nothing left to move to
nuxt/server. Content's own route gets Nuxt 5 support in nuxt/content#3891.Summary by CodeRabbit
Removed Features
Chores