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.

nametext

Title of the page 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 <yassumath@gmail.com>

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.

Source Distribution

sphinxcontrib-visio-1.1.0.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

sphinxcontrib_visio-1.1.0-py2.py3-none-any.whl (6.4 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for sphinxcontrib-visio-1.1.0.tar.gz
Algorithm Hash digest
SHA256 56d034aa64ccd0f6533215f055f1d90af5e67f9fce7ebed5680beecf7e06d079
MD5 c2de05acf97449716ed39180ffcd268d
BLAKE2b-256 2f6448c5efa16a26eeceec56a3e09f622095b517d334891747c426404a78c84e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sphinxcontrib_visio-1.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c70b60065119902c498b676ae648100957fd1fc1a3e2736f1fa172e87db0e724
MD5 33b66fb9ac6e7a6f9f1e085f065b1b0e
BLAKE2b-256 23a4e31ffa46a85c3fa755478f58971df4b7a5bebea21257ad957402e2eb7154

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