Content Sources
Choose where your pages come from.
Keep your pages in your project with content collections. Choose another source only when your content is already stored elsewhere.
Content Collections
MDX files in your project. New sites start here.
Local Markdown
Your Markdown files change after the build.
Notion
Your team writes in a Notion database.
Sanity
Your team writes in Sanity Studio.
Obsidian
You publish an Obsidian vault.
Custom Source
Your pages come from anywhere else.
Multiple Sources
Pass an object to use multiple sources on one site. Each key names a source, and baseDir is its URL prefix.
export default createPress({
docs: toFumadocsSource(await getCollection("docs"), await getCollection("meta"), {
baseDir: "docs",
}),
guides: notion.dynamicSource({ baseDir: "guides" }),
}).plugins(notionPlugin({ notion }));Now your collection is under /docs, and the Notion pages are under /guides. Use the key "guides" to give those pages their own layout.
Last updated on