Anybuild documentation
Static Sites
An overview of the providers that produce and serve static output.
Static providers
| Provider | Primary detection | Default output |
|---|---|---|
| Static Files | Staticfile, index.html, or public/index.html | Configured root |
| Hugo | hugo.toml/json/yaml/yml or a Hugo content layout | public |
| Jekyll | _config.yml or _config.yaml | _site |
| MkDocs | mkdocs.yml or mkdocs.yaml | site |
| Node Static | A recognized static framework, export configuration, or static build command | Framework-specific |
Node-static priority
Anybuild scores static Node.js output before the generic Node provider. A Vite, Astro, Docusaurus, Gatsby, or configured static export therefore does not need a Node start script—the built directory is served as static content.
Override the output directory
Terminal
ANYBUILD_STATIC_DIR=dist anybuild . --start