Skip to content

docs(catalog): add the Collection type page - #666

Merged
aicayzer merged 1 commit into
mainfrom
docs/core-collection
Oct 26, 2026
Merged

aicayzer merged 1 commit into
mainfrom
docs/core-collection

Conversation

@aicayzer

Copy link
Copy Markdown
Contributor

Summary

Documents core.collection, the general container type that withmarfa/marfa#2411 adds, so the Catalog lists it and the glossary's collection entry points to it.

Changes

  • New page /catalog/collection, with the generated fields and settings, an example item and an example in-collection edge, placed in the Core types group.
  • src/generated/: synced from the marfa branch of feat(types): add core.collection, a general container type marfa#2411. Only what that change moves: the catalog (builtin-catalog.json, types.md, a new core.collection.md), GLOSSARY.md and contract-index.json (types/collection added; types/shipped and edges/collection-target changed).
  • Glossary page: the collection entry names core.collection beside an album.
  • src/lib/docs-map.test.ts: the Core types group includes Collection.

Testing

  • pnpm test: 39 files and 709 tests passed.
  • pnpm build succeeded, and the prerendered /catalog/collection shows the description, the fields and settings tables (role container) and both examples.
  • Not tested: the deployed site.

Notes for reviewers

Checklist

  • The title is a scoped Conventional Commit.
  • New behavior has a test that was seen failing first, or no test was needed and the reason is above.
  • Docs, comments and the contract still say what is true after this change.

@aicayzer
aicayzer marked this pull request as ready for review October 26, 2026 01:34
@aicayzer
aicayzer merged commit 6a5dc7a into main Oct 26, 2026
7 checks passed
@aicayzer
aicayzer deleted the docs/core-collection branch October 26, 2026 01:59
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