Skip to main content

Sphinx extension for drawio embedding

Project description

Sphinx SVG.IO Package

This is a simple extension for embedding draw.io diagramms into sphinx docs.

Usage

In conf.py:

extensions = ["sphinx_svgio"]

drawio_js_offline_path = "path/to/viewer-static.min.js" # relative to conf.py or absolute

In rst:

.. svgio:: path/to/scheme.drawio.svg
    :page: 1
    :name: some name
    :caption: some caption

With page option you can choose an initial page of complex draw.io scheme.

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

sphinx_svgio-0.0.4.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sphinx_svgio-0.0.4-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file sphinx_svgio-0.0.4.tar.gz.

File metadata

  • Download URL: sphinx_svgio-0.0.4.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for sphinx_svgio-0.0.4.tar.gz
Algorithm Hash digest
SHA256 69ab670ff47bd22b21bd89fce1e1100c0c73ce0ae80d23fb40434a8a53141ebe
MD5 1e2a73d3d1b9a6386193fae5e069881f
BLAKE2b-256 80680a46749272112f205e636e3ce4579e0c0f1fc59f4153eeab4cc15fa6f605

See more details on using hashes here.

File details

Details for the file sphinx_svgio-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: sphinx_svgio-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for sphinx_svgio-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 e0274735951e64be4014332b47413a3c66ff08ef30de5a1d68279efc4057117d
MD5 9eeef7f24cafdc92337f0a62f3c34dfb
BLAKE2b-256 eb9ac86d2fc4b9fe1b2ef714225d52032c4ba25ba6099ecae7a50bf588920236

See more details on using hashes here.

Supported by

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