The Clever Cloud documentation site uses Hugo and the Hextra theme. It provides responsive navigation, dark mode, and full-text search, and supports the following content features:
- Clever Cloud documentation
- API reference
- Clever Tools CLI reference
- Environment variables reference
- Guides and tutorials
- Platform changelog
- Technical documentation
The documentation is also available in the llms.txt format.
archetypes/: templates for new guides, documentation pages, and application runtime pagescontent/: the site contentapi/: API referencechangelog/: platform updates, one folder per yeardoc/: technical documentationguides/: deployment guides, one folder per section, such asframeworks/orself-hosted/postmortem/: incident reportsshared/: blocks that several pages include, never published on their own
contributing/: the style guide and the authoring guide, which CONTRIBUTING.md introducesdata/: structured data, such as runtime versions, Kubernetes versions, and glossary termslayouts/: Hugo templates and shortcodes, including the Markdown andllms.txtoutputsscripts/: maintenance scripts, such as the CLI reference generator and the offline internal link checkerstatic/: images, fonts, and the favicon
Install the following tools before building the site:
Mise installs the commitlint, Go, Hugo Extended, markdownlint-cli2, Node.js, and Vale versions declared in mise.toml, which both the local build and the checks of a change use.
Clone the repository and start Hugo's development server:
git clone https://github.com/CleverCloud/documentation.git
cd documentation
mise install
hugo serverThe site is available at http://localhost:1313 and refreshes when a file changes. See the hugo server documentation for its options.
The site uses the Clever Cloud static runtime with the following environment variables:
CC_DISABLE_MISE="true"
CC_WEBROOT="public"
CC_STATIC_AUTOBUILD_OUTDIR="public/developers"
SERVER_ERROR_PAGE_404="developers/404.html"CC_DISABLE_MISE stops Clever Cloud from installing the development tools because the static runtime manages its deployment tools. Configure the route so its path ends in /developers, which matches the base URL and output directory of the site.
Tip
Set CC_HUGO_VERSION to a supported version such as 0.167 to select the Hugo version used for deployment
You can contribute by creating an issue or submitting a pull request. Before you submit a change, read the contributing guidelines, which explain how to check and submit it. They link to the style guide and the authoring guide. Coding agents also follow AGENTS.md.