Skip to content

launch local doc engine

Roman Dodin edited this page Apr 13, 2021 · 4 revisions
# this will test that the docs can be built and no broken links are present
# but it will not run a web server
docker run --rm -it -p 8000:8000 -v $(pwd):/docs squidfunk/mkdocs-material:6.1.5 serve --strict

# this will run a development web server, but will not ensure that no broken links are present
docker run --rm -it -p 8000:8000 -v $(pwd):/docs squidfunk/mkdocs-material:6.1.5

# in daemon mode
docker run --rm -d  -p 8000:8000 -v $(pwd):/docs squidfunk/mkdocs-material:7.1.0
Clone this wiki locally