Mkdocs static site docs generater with bootswatch themes
2.3K
This repo contains instructions on how to build a docker image that will run MkDocs to build your project docs, it also includes the MkDocs Bootswatch themes (installed via pip).
This image is available on the Docker registry as jujhars13/mkdocs it's been forked from Nate Jones' nate/mkdocs hard work.
This docker container can be run in one of two ways.
The image will build whatever site is mounted in /mkdocs.
$ docker run --rm -v /host/path:/mkdocs jujhars13/mkdocs
When the STREAM environment variable is set, this image expects a tgz on stdin with the root of the mkdocs compatible source. The built site is output as a tarball to stdout:
$ tar -czf - . | docker run -i -e STREAM=1 --rm jujhars13/mkdocs > output.tgz
To replicate the 'with volumes' version without volumes, pipe to a tar command:
$ tar -czf - . | docker run -i -e STREAM=1 --rm jujhars13/mkdocs | tar -xzf -
Copyright © 2014 Nate Jones, forked by Jujhar Singh in 2017
Distributed under the MIT license.
Content type
Image
Digest
Size
162.9 MB
Last updated
about 9 years ago
docker pull jujhars13/mkdocs