Official documentation repository of evcc.
- The source content of the folder
templatesis thetemplates/definitionfolder in the evcc repository - We recommend to test changes locally, use the instructions below to run the documentation page locally as you can see how the changes will look like on the web page while you make changes.
First clone the repository, then follow with the following steps.
Requirement: You need to have nodejs (version >= 22) and npm installed (comes with nodejs).
$ npm ci$ npm run startThis command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Start in English mode.
npm run start -- --locale en$ npm run buildThis command generates static content into the build directory and can be served using any static contents hosting service. It should be run before any changes are committed, as it also includes link checking.
CLI documentation is automatically generated.
Generation needs to be triggered manually.
Run this command inside the evcc core repository (e.g. ./evcc).
go run main.go gendoc ../evcc-docs/docs/reference/cli/Before submitting a PR, run npm run format to ensure consistent code formatting.
The CI pipeline will automatically check formatting and fail if files are not properly formatted.
VS Code users: The repository includes recommended settings to format files automatically on save.
Important: When making content changes, always update both German and English versions together to prevent translations from getting out of sync.
- German content:
/docsand/blog - English content:
/i18n/en/docusaurus-plugin-content-docs/currentand/i18n/en/docusaurus-plugin-content-blog
If you only speak one language, please mention this in your PR so maintainers can help with the translation.