This repository holds the documentation for the crowdsec project.
Online version of this documentation is available here: https://doc.crowdsec.net/
The documentation is built using Docusaurus, a modern static website generator.
- nvm (Node Version Manager)
- Node.js stable (install via nvm:
nvm install stable && nvm use stable) - VSCode with recommended extensions installed (see
.vscode/extensions.json)
nvm use stable
cd crowdsec-docs
npm installnvm use stable
cd crowdsec-docs
npm start
# or equivalently
npx docusaurus startThis command starts a local development server at http://localhost:3000. Most changes are reflected live without having to restart the server.
npm run buildThis command generates static content into the build directory and can be served using any static contents hosting service.
you can also use the npm run serve command to test the build locally.
This project uses Biomes for linting and formatting. You can run the following commands:
npm run lint
npm run format