Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 1.79 KB

README.md

File metadata and controls

48 lines (32 loc) · 1.79 KB

Development Setup

The markdown files in this repo are visualized using mkdocs-material. In the config.yaml you will find a list of all installed markdown extensions. You can find the documentation here.

Docker

Use the Environment which will also be used in production.

docker run -it -v "$(pwd):/srv_root/docs"  -p "8000:8000" --env ENABLED_HTMLPROOFER=True --entrypoint="mkdocs" quay.io/denbicloud/mkdocswebhook:staging serve -f /srv_root/docs/config.yml   --dev-addr 0.0.0.0:8000

Or turn off the HTML Proffer for faster startup:

docker run -it -v "$(pwd):/srv_root/docs"  -p "8000:8000" --env ENABLED_HTMLPROOFER=False --entrypoint="mkdocs" quay.io/denbicloud/mkdocswebhook:staging serve -f /srv_root/docs/config.yml   --dev-addr 0.0.0.0:8000

Make sure to use the latest mkdocs-webhook-version. The staging-state should reflect the latest features.

Local

Please install the libraries used in the production instance: https://github.com/deNBI/mkdocsWebhook/blob/master/Dockerfile#L4

For a quick start you can also use pip to install both mkdocs and mkdocs-material:

pip install mkdocs
pip install mkdocs-material
mkdocs serve -f config_local.yml

Text writing plugin for JetBrains IDEs

The Grazie Professional plugin can be used, to ease text editing of this repository. It allows you to utilize styleguides and gives you suggestions while writing. For the rephrazing and synonymization feature you need to enable the processing via Grazie Cloud.