Skip to main content

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.

Latest PyPI version Number of PyPI downloads

Requirements

  • Python 2.7, 3.3 or later

  • Sphinx 1.0 or later

  • pywin32

  • visio2img 1.2.0 or later

  • Microsoft Visio

Setup

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.vsdx

The visio-image directive supports all of the options of the image directive.

In addition, the following options are recognized:

pagenumber

Page number of the page to embed to document.

sheettext

Title of the sheet to embed to document.

.. 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:

pagenumber

Page number of the page to embed to document.

nametext

Title of the page to embed to document.

Author

Yassu <mathyassu@gmail.com>

Maintainer

Takeshi KOMIYA <i.tkomiya@gmail.com>

License

Apache License 2.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinxcontrib-visio-2.0.0.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

sphinxcontrib_visio-2.0.0-py2.py3-none-any.whl (5.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file sphinxcontrib-visio-2.0.0.tar.gz.

File metadata

File hashes

Hashes for sphinxcontrib-visio-2.0.0.tar.gz
Algorithm Hash digest
SHA256 045777ceb118edeb8749b3f32687d5b30012954db6a6bfb71d6540556dde87e0
MD5 b1f434da7c4e9be7faabfee66a894c7f
BLAKE2b-256 4d80950df9493fc36f10611cc7958f551b58a10d21628d22650a09f859f9a738

See more details on using hashes here.

File details

Details for the file sphinxcontrib_visio-2.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for sphinxcontrib_visio-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 e913c98ecf9ce2807e92d4704c7ee330a55520531e638133a18149e2b915f6bb
MD5 0db0472c59e0189ddf9ea8dc77836f85
BLAKE2b-256 98393660b80f8b004ff784744643b989ac5a166fc4f644313f82e751ac50783a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page