This website is built using Docusaurus 2, a modern static website generator.
$ pnpm i
$ 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.
$ npm run build
This command generates static content into the build
directory and can be served using any static contents hosting service.
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.
Basic rules for translate the website:
message
) should be in German. So we does not need always a description. Later they will be replaced with other language values.translate
method! Do not use the Translate
component!slug
seo url definitions in the translated files (only docs/welcome.md
).slug
is automatically generated from the file name./tags:(\n.+)+/
- ---