Contributing to the documentation¶
We welcome contributions to the Tracee documentation.
Our documentation aims to follow the Diátaxis documentation framework which includes:
- A getting started section -- Installation Guidelines and simple scenarios
- Tutorials -- End-to-end tutorials that have real-world use cases
- Reference Material -- How to use Tracee
- Contribution Guidelines
To contribute to the documentation please
- Clone the Tracee GitHub repository
- Make changes in the
./docs
directory in the root folder - Remember to edit the index in
mkdocs.yml
in the root folder if you add or move existing files or directories - Test your changes to the documentation
- Submit a PR
Test Documentation Changes¶
You can test your changes to the documentation by building and running a docker container.
Prerequisites: Docker installed and running locally.
Build the container image:
docker build -f builder/Dockerfile.mkdocs -t tracee:docs .
Serve the container image:
docker run --rm -v $(pwd):/docs -p 8000:8000 tracee:docs
Open localhost:8000/tracee
Now you should see the documentation.