public-ui / public-ui.github.io

Technische Dokumentation (Homepage) von "KoliBri"
European Union Public License 1.2
4 stars 3 forks source link

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ pnpm i

Local Development

$ npm start
$ npm start -- --locale en

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

$ npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Tagging new versions

Whenever a new KoliBri version is ready, the current state of the docs describing that version should be persisted with the following command:

npm run docusaurus docs:version $version_number

The changed files have to be committed.

Afterwards, the new version will be available to select in the version-dropdown in the header of the website.

For further reading, consult the Docusaurus docs regarding versioning.

Translation

Basic rules for translate the website: