Contributing to documentation
登录后可跨设备保存划线和私人笔记登录
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.11.0 or higher.
- Set up a virtualenv and run
pip install -r requirements.txtin thetestcontainers-dotnetroot directory. - Once Python dependencies have been installed, run
mkdocs serveto start a local auto-updating MkDocs server.
Using Docker
The root of the project contains a compose.yml file. Simply run docker compose up and access the docs at: http://localhost:8000.
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.
评论
登录后参与评论
正在加载评论…
KnowForge