detekt website is built using Docusaurus 2.
First please install all the dependencies with
$ yarn
$ yarn 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.
Please note that rules documentation is generated by the detekt project starting from the rule source code. In order to see them inside the website you will have to:
$ yarn generate
$ yarn generate-and-build
This command generates static content into the build
directory and can be served using any static contents hosting service.