Skip to main content

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

  1. Install pywin32 manually

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

Release files for sphinxcontrib-visio 2.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sphinxcontrib-visio 2.1.2
File Size Uploaded
sphinxcontrib-visio-2.1.2.tar.gz 7.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sphinxcontrib-visio 2.1.2
File Interpreter ABI Platform
sphinxcontrib_visio-2.1.2-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 13.6 kB

Release files / sphinxcontrib-visio-2.1.2.tar.gz

Download URL sphinxcontrib-visio-2.1.2.tar.gz
Size 7.7 kB
Tags Source
SHA-256 checksum
How to use checksums
708400b26f35d800fc0b2fbc1f633355dd0163ef85cbcba6267ca720aed9a9ec
BLAKE2b-256 checksum
How to use checksums
1dda74d27f8617ed0dc3b20f4a9b127c1afa4355964b4330703f43e9536d49ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sphinxcontrib_visio-2.1.2-py2.py3-none-any.whl

Download URL sphinxcontrib_visio-2.1.2-py2.py3-none-any.whl
Size 5.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
26e9ff123669ed9eef1a9b6ca2139bb0d60e557bd0fffdc8fc950cd9b71b739e
BLAKE2b-256 checksum
How to use checksums
fd6dd64b2017c1e4394a1bfcdfb7dfc67f0af1c16f2b021c49a30bcfb849777b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

2.1.2 This release

2 release files

2.0.0

2 release files

1.1.0

2 release files

1.0.2

1 release file

1.0.1

1 release file

1.0.0

1 release file

0.9.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page