Saltar al contenido
Foldocs
En esta páginaFirst-party sources

Remote and CMS content

Load typed Markdown and MDX from HTTP endpoints, Sanity, BaseHub, or custom build-time sources.

This page does not exist on disk. The dogfood site supplies it through a ContentAdapter, and the Vite plugin compiles it into an independently lazy route chunk with the same search, i18n fallback, Markdown, LLM, and prerender output as filesystem pages.

First-party sources

  • @foldocs/mdx-remote validates JSON content returned by an HTTP endpoint.

  • @foldocs/sanity maps a typed GROQ query result into virtual files.

  • @foldocs/basehub maps generated BaseHub query data into virtual files.

Every adapter returns a deterministic path, optional locale, and Markdown or MDX source. Provider SDKs and credentials remain build-time only.