zoni / mkdocs-diagrams

MkDocs plugin to render Diagrams files
MIT License
27 stars 3 forks source link

Add documentation for using with mkdocs-material dockerfile #3

Open bavedarnow opened 3 years ago

bavedarnow commented 3 years ago

When installing the plugin in the mkdocs-material dockerfile, a few more dependencies were needed because it uses an alpine base image. This would be good to put in the readme

FROM squidfunk/mkdocs-material
RUN apk --no-cache add msttcorefonts-installer fontconfig && \
    update-ms-fonts && \
    fc-cache -f && \
    pip install mkdocs-diagrams graphviz jinja2

See https://github.com/mingrammer/diagrams/pull/231 for more info