Sphinx "cacoo" extension; embed diagram from cacoo
Project description
sphinxcontrib-cacoo
This package contains the cacoo Sphinx extension.
This extension enable you to embed diagrams on cacoo . Following code is sample:
.. cacoo-image:: [diagramid] .. cacoo-figure:: [diagramid] caption of figure
Setting
Install
$ pip install sphinxcontrib-cacoo
Configure Sphinx
Add sphinxcontrib.cacoo to extensions at conf.py:
extensions += ['sphinxcontrib.cacoo']
And set your API key to cacoo_apikey:
cacoo_apikey = 'your apikey'
Directive
.. cacoo-image:: [diagramid]
This directive insert a diagram into the document. If your diagram has multiple sheets, specify sheetid after #.
Examples:
.. cacoo-image:: EWHRuF5Kox1AnyNL .. cacoo-image:: mb53vvmYG38QGUPf#37D74Options are same as image directive .
.. cacoo-figure:: [diagramid]
This directive insert a diagram and its caption into the document.
Examples:
.. cacoo-figure:: EWHRuF5Kox1AnyNL Structure of this systemOptions are same as figure directive .
Configuration Options
cacoo_apikey
API key for cacoo
Repository
This code is hosted by Bitbucket.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for sphinxcontrib-cacoo-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ccd6ecea773a395316535c5625f7397cd2f428157063a5428210532670b54858 |
|
MD5 | d42d2ff35ea424983ff343a6c6fc7306 |
|
BLAKE2b-256 | 9c6359d0782f9f2608f93a54b27e9bc47a88d6e09e742af240c8e221bbf8f687 |
Hashes for sphinxcontrib_cacoo-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ed81e7d472e80498a4504c75d8bf8ff6d4c307f5859924e362d6070b571c72f |
|
MD5 | aab9b5e84d27e95f556c0fdf98f92a7f |
|
BLAKE2b-256 | d77d633acce86c44980e443a5434c11836f1b0059f9b5bc10443fc3ab39f2a06 |