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.3.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.3-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx_svgio-0.0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 6fc43f6f190c897e0456eb91794613a38a58defe48305a9cbf513c6851ff4e6b
MD5 6b5c123bd2b98bd0a21ae07718d3b4f5
BLAKE2b-256 faad0859fe11c849b1cb44a446567ba149581390a0336009ed25f76827521192

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sphinx_svgio-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 12d4b657d680fc202db3ae6c1b2ba597496a8bee3f29f8369cc4bcfdeba2ee08
MD5 9c81beb4187e4b4245896d996ef2da14
BLAKE2b-256 edc9061380bf45fdc96d11ef797ccff3d2e431ff0321db9f501cfd79643a5b39

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