Build with remote content
Fetch CMS or repository content without giving up static output.
Remote content should enter Foldocs before compilation. That preserves static
HTML, local search documents, .md routes, and a complete llms.txt corpus.
Build sequence
Fetch content with a
ContentAdapter.Normalize every record into a stable path and UTF-8 source.
Merge remote and filesystem files.
Reject duplicate ownership.
Compile, validate links, index, and prerender.
Cache by revision
Use a CMS revision, Git commit, or response validator as the cache key. Store the resolved revision with the deployment so a page can be traced back to its source.
Failure behavior
Do not silently build without remote pages. Retry transient requests through Effect, then fail the build with the source name and revision when recovery is not possible.
Last updated 2 ago 2026