Contributing to documentation
The Testcontainers for .NET documentation is a static site built with MkDocs. We use the Material for MkDocs theme, which offers a number of useful extensions to MkDocs.
In addition we use a custom plugin for inclusion of code snippets.
We publish our documentation using Netlify.
Previewing rendered content
Using Python locally
- Ensure that you have Python 3.8.0 or higher.
- Set up a virtualenv and run
pip install -r requirements.txt
in thetestcontainers-dotnet
root directory. - Once Python dependencies have been installed, run
mkdocs serve
to start a local auto-updating MkDocs server.
PR preview deployments
Note that documentation for pull requests will automatically be published by Netlify as 'deploy preview'.
These deployment previews can be accessed via the netlify/testcontainers-dotnet/deploy-preview
check that appears for each pull request.