This repository contains the source for the Product Security Handbook, which is built using MkDocs and the Material for MkDocs theme.
This site uses mkdocs-material. It is recommended to use a virtual environment to manage dependencies.
To install dependencies, run:
pip install -r requirements/local.txtTo run the site locally, use the following command:
mkdocs serve --livereloadPre-commit is included in the local requirements file. If you'd like an alternative installation method, visit the pre-commit website for installation instructions.
To install the git hooks, run the following command:
pre-commit installTo manually run the pre-commit hooks against all files, use:
pre-commit run --all-filesThis repo follows a git trunk-based development workflow. Branches should be created from the main branch, and pull
requests should be made against main. When submitting changes, please ensure that your commits are signed.
Signed commits are required for this repository. Please refer to the following resources for guidance on signing your commits: