Skip to content

evcc-io/docs

Repository files navigation

evcc docs

Official (german) documentation repository of evcc.

General

  • The source content of the folder templates is the templates/docs folder 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.

Local setup

First clone the repository, then follow with the following steps.

Requirement: You need to have nodejs (version 16) and npm installed (comes with nodejs).

Installation

$ npm ci

Local Development

$ npm run start

This 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

Build

$ npm run build

This 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.