Skip to content

Commit

Permalink
add collection config for contributor docs
Browse files Browse the repository at this point in the history
  • Loading branch information
outofambit committed Feb 29, 2024
1 parent c62413c commit 346b5f3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ import { pastEventsCollection } from "./past-events/config";
import { librariesCollection } from "./libraries/config";
import { peopleCollection } from "./people/config";
import { sketchesCollection } from "./sketches/config";
import { contributorDocsCollection } from "./contributor-docs/config";

export const collections = {
tutorials: tutorialsCollection,
"past-events": pastEventsCollection,
libraries: librariesCollection,
people: peopleCollection,
sketches: sketchesCollection,
"contributor-docs": contributorDocsCollection,
};
6 changes: 6 additions & 0 deletions src/content/contributor-docs/config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { z, defineCollection } from "astro:content";

export const contributorDocsCollection = defineCollection({
type: "content",
schema: z.object({}),
});

0 comments on commit 346b5f3

Please sign in to comment.