Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): #268 add a function to access sibling documents #290

Merged
merged 2 commits into from
Sep 4, 2024

Conversation

sdorra
Copy link
Owner

@sdorra sdorra commented Sep 2, 2024

Extend the context collection with a documents function, which returns all documents of the current collection.

Closes: #268

Copy link

vercel bot commented Sep 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
content-collections ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 3, 2024 7:35pm

Copy link

changeset-bot bot commented Sep 2, 2024

🦋 Changeset detected

Latest commit: 639c2ea

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@content-collections/core Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

pkg-pr-new bot commented Sep 2, 2024

Open in Stackblitz

@content-collections/cli

pnpm add https://pkg.pr.new/sdorra/content-collections/@content-collections/cli@290

@content-collections/core

pnpm add https://pkg.pr.new/sdorra/content-collections/@content-collections/core@290

@content-collections/integrations

pnpm add https://pkg.pr.new/sdorra/content-collections/@content-collections/integrations@290

@content-collections/markdown

pnpm add https://pkg.pr.new/sdorra/content-collections/@content-collections/markdown@290

@content-collections/next

pnpm add https://pkg.pr.new/sdorra/content-collections/@content-collections/next@290

@content-collections/mdx

pnpm add https://pkg.pr.new/sdorra/content-collections/@content-collections/mdx@290

@content-collections/remix-vite

pnpm add https://pkg.pr.new/sdorra/content-collections/@content-collections/remix-vite@290

@content-collections/solid-start

pnpm add https://pkg.pr.new/sdorra/content-collections/@content-collections/solid-start@290

@content-collections/vite

pnpm add https://pkg.pr.new/sdorra/content-collections/@content-collections/vite@290

commit: 639c2ea

Extend the context collection with a documents function,
which returns all documents of the current collection.

Closes: #268
@sdorra sdorra force-pushed the feature/268_access_docs_of_current_collection branch from 0fe2f3b to 639c2ea Compare September 3, 2024 19:33
@sdorra sdorra added the enhancement New feature or request label Sep 3, 2024
@sdorra sdorra merged commit 486584b into main Sep 4, 2024
6 checks passed
@sdorra sdorra deleted the feature/268_access_docs_of_current_collection branch September 4, 2024 10:59
@github-actions github-actions bot mentioned this pull request Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request preview-release Deploy a preview release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Access documents of the current collection in transform
1 participant