Sign inSign up

tantan0/mkdocs

By tantan0

•Updated about 8 years ago

mkdocs container

Image
0

282

tantan0/mkdocs repository overview

⁠mkdocs (docker image)

Similar to jobandtalent/mkdocs but integrates PythonMarkdown PlantUML extension.

This image will provide you mkdocs. Some examples of its usage:

⁠Create a new project

docker run -it --rm -v `pwd`:/docs coding2012/mkdocs new my-project

⁠Serve your project

If you are inside a VM (boot2docker or similar) you will need to set the host to 0.0.0.0:

cd my-project
docker run -it --rm -v `pwd`:/docs -p 8000:8000 coding2012/mkdocs serve -a 0.0.0.0:8000

⁠Build your docs

cd my-project
docker run -it --rm -v `pwd`:/docs coding2012/mkdocs build

If you want to generate them in other place mount /docs/site as a volume:

docker run -it --rm -v `pwd`:/docs -v $HOME/Desktop/site:/docs/site coding2012/mkdocs build

⁠PlantUML Usage

Inside your project file

site_name: My Site Name
markdown_extensions:
    - plantuml: 
        outpath: "images"

See the following site for uml usage: https://github.com/mikitex70/plantuml-markdown⁠

Tag summary

Content type

Image

Digest

Size

104.5 MB

Last updated

about 8 years ago

docker pull tantan0/mkdocs