Skip to content

Latest commit

 

History

History
17 lines (15 loc) · 536 Bytes

README.md

File metadata and controls

17 lines (15 loc) · 536 Bytes

sphinx-drawio-docker

Sphinx with readthedocs theme & drawio support

usage

In your conf.py simply append the following for headless draw.io support:

# -- Options for draw.io plugin ----------------------------------------------
# @see https://pypi.org/project/sphinxcontrib-drawio/

drawio_default_transparency = True
drawio_headless = True
drawio_no_sandbox = True

To generate html and pdf, simply run in the docs root:

docker run --rm -v `pwd`:/docs jaredweinfurtner/sphinx-drawio-docker make html latexpdf