Skip to content

chore: retire the doc-driven template - #2219

Merged
danielroe merged 1 commit into
templatesfrom
retire-doc-driven
Nov 22, 2026
Merged

danielroe merged 1 commit into
templatesfrom
retire-doc-driven

Conversation

@atinux

@atinux atinux commented Nov 7, 2026

Copy link
Copy Markdown
Member

Written by an AI agent on behalf of @atinux, who asked to retire doc-driven. @atinux has not reviewed it yet.

The doc-driven template still runs on Nuxt Content v2 and its document-driven mode, which v3 and v4 dropped. It was already marked deprecated, and nuxt/cli hides it from the template prompt. The content template covers the same use case: a catch-all page that renders Markdown from content/. That template is moving to Content v4 in #2218.

What changed

  • Removes templates/doc-driven.json, so nuxi init -t doc-driven stops resolving.
  • Drops doc-driven from Renovate's baseBranchPatterns, so Renovate stops opening dependency PRs against it.

Evidence

  • node scripts/validate-templates.mjs prints ✔ 25 templates are valid.
  • Nothing else on the templates branch mentions doc-driven. In nuxt/cli, doc-driven only appears in hiddenTemplates in src/utils/starter-templates.ts (harmless once the template is gone) and in test fixture data.

Left to do

  • Delete the doc-driven branch after this merges, keeping a tag (archive/doc-driven) so it can be restored.
  • Optionally, remove 'doc-driven' from hiddenTemplates in nuxt/cli.

ELI5

An old starter for an outdated version of Nuxt Content is removed from the list of templates. The regular Content starter does the same job.

@atinux
atinux requested a review from danielroe as a code owner November 7, 2026 09:17
@coderabbitai

coderabbitai Bot commented Nov 7, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The doc-driven template definition was removed. Renovate’s baseBranchPatterns no longer includes doc-driven. The other branch patterns are unchanged.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Merge Risk: Minimal · up to 11da6

The change retires the deprecated doc-driven template and stops its Renovate updates. No actionable merge-blocking risk is identified; merge after normal checks.

Pre-merge checks: Passed 5

Check name Status Explanation
Title check Passed The title accurately describes the retirement of the doc-driven template.
Description check Passed The description accurately identifies the template removal and the Renovate configuration change.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files.

Finishing Touches

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.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 624d3f18-349b-4bae-a4e0-5905820b60ad
Commits

Reviewing files that changed from the base of the PR and between 1f391e5 and 11da64e.

Files selected for processing: 2

  • renovate.json
  • templates/doc-driven.json
Files with no reviewable changes: 1

  • templates/doc-driven.json

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 3 remain after this review.

@danielroe
danielroe merged commit c4688c1 into templates Nov 22, 2026
5 checks passed
@danielroe
danielroe deleted the retire-doc-driven branch November 22, 2026 10:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants