sphinxcontrib-visio is a sphinx extension. It embeds MS-Visio file (.vsd, .vsdx) to your documents.
- Install pywin32 manually
-
Install sphinxcontrib-visio package:
$ pip install sphinxcontrib-visio
And then, append sphinxcontrib.visio to conf.py of your Sphinx project:
# extensions = []
extensions = ['sphinxcontrib.visio']
.. visio-image: [filename]
This directive inserts MS-Visio image into the document. It inserts image from visio file named as filename.
Examples:
.. visio-image:: foo.vsdx
The visio-image directive supports all of the options of the image directive.
In addition, the following options are recognized:
page
: numberPage number of the page to embed to document.
sheet
: textTitle of the sheet to embed to document.
Note
name is deprecated on 2.0.0
.. visio-figure: [filename]
This directive inserts MS-Visio image into the document and its caption. It inserts image from visio file named as filename.
Examples:
.. visio-figure:: foo.vsdx caption of foo
The visio-figure directive supports all of the options of the figure directive.
In addition, the following options are recognized:
page
: numberPage number of the page to embed to document.
name
: textTitle of the page to embed to document.
Yassu <mathyassu@gmail.com>
Takeshi KOMIYA <i.tkomiya@gmail.com>
Apache License 2.0