Sphinx "visio" extension; embed MS-Visio file (.vsd, .vsdx)
Project description
sphinxcontrib-visio is a sphinx extension. It embeds MS-Visio file (.vsd, .vsdx) to your documents.
Requirements
Setup
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']
Directives
.. 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.vsdxThe visio-image directive supports all of the options of the image directive.
In addition, the following options are recognized:
- page : number
- Page number of the page to embed to document.
- sheet : text
Title 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 fooThe visio-figure directive supports all of the options of the figure directive.
In addition, the following options are recognized:
- page : number
- Page number of the page to embed to document.
- name : text
- Title of the page to embed to document.
Maintainer
Takeshi KOMIYA <i.tkomiya@gmail.com>
License
Apache License 2.0
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size sphinxcontrib_visio-2.1.2-py2.py3-none-any.whl (5.9 kB) | File type Wheel | Python version 2.7 | Upload date | Hashes View |
Filename, size sphinxcontrib-visio-2.1.2.tar.gz (7.7 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for sphinxcontrib_visio-2.1.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 26e9ff123669ed9eef1a9b6ca2139bb0d60e557bd0fffdc8fc950cd9b71b739e |
|
MD5 | 8d4d758ec86ca50d0deb21ce027277db |
|
BLAKE2-256 | fd6dd64b2017c1e4394a1bfcdfb7dfc67f0af1c16f2b021c49a30bcfb849777b |
Hashes for sphinxcontrib-visio-2.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 708400b26f35d800fc0b2fbc1f633355dd0163ef85cbcba6267ca720aed9a9ec |
|
MD5 | 7b8622400d51715131dca17b950d03e0 |
|
BLAKE2-256 | 1dda74d27f8617ed0dc3b20f4a9b127c1afa4355964b4330703f43e9536d49ac |