Skip to content

docs: consolidate on Nextra, drop legacy docs/ folder#4

Merged
KKranthi6881 merged 1 commit into
mainfrom
claude/docs-cleanup
Apr 17, 2026
Merged

docs: consolidate on Nextra, drop legacy docs/ folder#4
KKranthi6881 merged 1 commit into
mainfrom
claude/docs-cleanup

Conversation

@KKranthi6881

Copy link
Copy Markdown
Collaborator

Summary

User-facing documentation is now in one place: docs.duckcode.ai (source: apps/docs/ Nextra site). The legacy docs/ folder had 27 half-migrated files — stale content, broken cross-links, references to deleted commands, and 25 broken deep-links from the root README. Confusing for new users.

What changed

Root README (487 → ~55 lines)

  • Single install path: npx create-dql-appnpm install && npm run notebook
  • One link to the docs site, short list of quick links
  • Dropped the 25 broken deep-links into docs/

Ported 3 pages that were genuinely missing from Nextra

Fixed stale content in reference/file-formats.mdx

  • cdql.yamldql.config.json (matches what v1.0.1 actually ships)
  • .dqlnb is clarified as the current notebook format, not legacy

Deleted 27 legacy files under docs/

  • 01-start-here/, 02-core-workflows/, 03-guides/, 04-reference/, 05-maintainers/ — half-migrated, placeholder READMEs
  • migration-guides/ — covered by guides/migrate.mdx
  • examples/ — demo notebook moved to examples/gallery/
  • dql-language-spec.md, compatibility.md, faq.md, project-config.md, project-structure.md, v1-support-scope.md, publishing.md, repo-testing.md, data-sources.md — covered in Nextra or stale

Kept

  • docs/oss-readiness-checklist.md — internal maintainer doc
  • docs/README.md — rewritten as a thin pointer to Nextra

Verification

  • pnpm --filter @duckcodeailabs/docs build — green, 28 pages prerendered
  • node apps/docs/scripts/link-check.mjs0 broken internal links
  • Nextra nav updated (_meta.json for guides + reference)
  • No source code touched

Net result

Before After
108 markdown files across the repo ~65 (mostly package READMEs, root essentials, and the Nextra site)
Root README: 487 lines, 25 broken links 55 lines, points at one place
Two competing docs systems One: docs.duckcode.ai
docs/ folder: 29 files, mostly stale 2 files (README pointer + internal checklist)

A new user hitting the repo now sees: clean README → one docs link → 5-minute quickstart. That was the goal.

🤖 Generated with Claude Code

User-facing documentation now lives in a single place: the Nextra site
under apps/docs/ (published to docs.duckcode.ai). The legacy docs/ folder
had 27 half-migrated files with stale content, broken cross-links, and
references to deleted commands — confusing for new users.

- Rewrite root README from 487 lines → ~55 lines. Single install path
  (npx create-dql-app), then point at docs.duckcode.ai. Drop the 25
  broken deep-links into docs/.
- Port 3 pages that were missing from Nextra:
    * guides/faq.mdx
    * reference/project-layout.mdx
    * reference/compatibility.mdx
- Update reference/file-formats.mdx: cdql.yaml → dql.config.json (matches
  what v1.0.1 actually ships), clarify .dqlnb is the current notebook
  format, not legacy.
- Delete 27 legacy docs/ files: the 01-/02-/03-/04-/05- numbered
  directories, migration-guides/, examples/, dql-language-spec, faq,
  compatibility, project-config, project-structure, v1-support-scope,
  publishing, repo-testing, data-sources. Content is covered in Nextra
  or was itself stale.
- Keep docs/oss-readiness-checklist.md (internal maintainer checklist).
- Move examples/jaffle-shop-lineage-demo.dqlnb to examples/gallery/ so
  all example assets live in one place.
- Rewrite docs/README.md as a thin pointer to the Nextra site.
- Nextra builds clean: 28 pages, link-check passes with 0 broken links.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@KKranthi6881 KKranthi6881 merged commit db22e79 into main Apr 17, 2026
4 of 7 checks passed
KKranthi6881 added a commit that referenced this pull request Apr 23, 2026
…r abstraction)

Closes the v1.2.1 gap audit — 9 fixes, ordered by severity. No behavior
changes beyond the #2 email-delivery correction; the rest add logging,
ignore patterns, and a provider-extension point.

Critical:
- #1 ignore .dql/runs/ and .dql/cache/ (root + `dql init` scaffold)
- #2 email notifier returns delivered:false in stub mode (was lying)

Bugs:
- #3 GET /api/blocks/body endpoint for bound-cell reloads
- #5 /api/schema returns 500 + fallback instead of silent file-only
- #6 log malformed scheduler run records to stderr
- #7 replace empty catches in runtime/html emitters with console.warn

Smells:
- #8 move LLM providers into providers/; add LLMProvider type alias
- #9 `dql schedule stop` via pidfile

#4 was a false-positive — bound-cell lineage is already wired via the
manifest builder's pathToBlockName lookup; comment updated.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

1 participant