On this page

Reference

Exact contracts for the TidyPress CLI, configuration, content metadata, and extension APIs.

Reference pages state the current interface. Use the task-focused guides when you want rationale or an end-to-end workflow.

Runtime contract

publish root directory required

Contains tidypress.config.ts. tidypress init creates site/ by default, but discovery supports any unambiguous directory containing the config file.

src/content/<collection> directory required

Markdown and MDX source. Enabled config collections become typed Astro content collections and route families.

build/ directory required

Default static output. It is generated and safe to replace on every build.

~/.cache/tidypress/ directory

Generated integration, plugin-manifest, and Astro working data. tidypress clean removes the active project cache.

Package roles

PackagePublic role
tidypressNode CLI and the package users install
@tidypress/configTyped schema, defaults, normalization, registries
@tidypress/engineAstro rendering engine used by the CLI
@tidypress/astroOptional integration for projects that own astro.config.mjs
Python tidypressOptional notebook conversion and source extraction companion