Skip to content

feat(showcase): ADR-0046 — package docs coverage (flat src/docs/*.md)#1793

Merged
xuyushun441-sys merged 1 commit into
mainfrom
feat/adr-0046-showcase-docs
Jun 12, 2026
Merged

feat(showcase): ADR-0046 — package docs coverage (flat src/docs/*.md)#1793
xuyushun441-sys merged 1 commit into
mainfrom
feat/adr-0046-showcase-docs

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

Summary

Adds the ADR-0046 dimension to the showcase: two cross-referencing docs under flat examples/app-showcase/src/docs/ that demonstrate (and are gated by) every authoring rule os build enforces — flat directory, namespace-prefixed filename stems (showcase_*), frontmatter title: vs first-#-heading title derivation, relative cross-references with anchors (./showcase_docs_guide.md#cross-references), and code blocks keeping link syntax literal. A COVERAGE.docs entry tracks the dimension alongside field types, chart types, etc.

Follow-up to framework #1789/#1790 and objectui #1677.

Test plan

  • pnpm build in app-showcase: both docs compile into dist/objectstack.json (showcase_index with first-heading label, showcase_docs_guide with frontmatter label); ADR lint (flatness/prefix/links/MDX/image) passes
  • Note: pnpm verify (typecheck) is currently broken on main by pre-existing issues unrelated to this change (reports drilldown, pages template/isDefault, invoice formula — fields that gained .default() in recent spec PRs are required on the output types the example annotates with); tracked separately

🤖 Generated with Claude Code

Two cross-referencing docs demonstrating every doc-metadata authoring
rule the build enforces — flat directory, namespace-prefixed filename
stems, frontmatter-title vs first-heading title derivation, relative
cross-references with anchors, code blocks keeping link syntax literal —
plus a COVERAGE entry so the dimension is tracked like every other
showcase feature.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 12, 2026 4:17pm

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation size/s labels Jun 12, 2026
@xuyushun441-sys
xuyushun441-sys merged commit 19fdc4b into main Jun 12, 2026
12 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the feat/adr-0046-showcase-docs branch June 12, 2026 16:21
xuyushun441-sys added a commit that referenced this pull request Jun 13, 2026
…0046) (#1807)

* docs(metadata): doc-type authoring guide + objectstack-ui skill coverage (ADR-0046)

Package docs (ADR-0046) shipped framework-side (collection + render) and a
showcase example (#1793), but the developer docs site and AI skills never
mentioned the `doc` metadata type. Close that gap:

- New guide content/docs/guides/metadata/doc.mdx — flat src/docs/*.md
  authoring, namespace-prefixed naming, the platform-level /docs/<name>
  routing model (no per-app/per-package URL nesting), cross-references,
  and the MDX/image build bans.
- List `doc` in the metadata index table + sidebar (meta.json).
- objectstack-ui skill: new "Docs — Package Documentation" section so AI
  agents author src/docs/*.md correctly (flat dir, prefix, CommonMark+GFM,
  link-don't-embed for dynamic content), plus description/tags coverage.

Docs/skill only — no package code. Frontend /docs route + nav entry remain
the objectui P2 follow-up.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

* chore: empty changeset (docs/skill only, no package release)

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Jack Zhuang <277994282+os-zhuang@users.noreply.github.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/s

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants