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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 270caf9ebac2f93907e5366a37c963df1f134a18338258674b810c94f11a7de4 |
|
MD5 | 406cd12baad2bf61184c33098ff34352 |
|
BLAKE2b-256 | 2010d1069e17cff3d428f463aedbeef3349d910ec8702223a465abfe17814921 |
Hashes for sphinxcontrib_cacoo-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0012d277560b88e8a6bef44c321a68b7100a809014d5b2f4394a8a82f08d4504 |
|
MD5 | 559177f907fb1d66bc09d07842656d75 |
|
BLAKE2b-256 | 79afbf7a0244915a583f5cedf5d032f95b604c3355381c8f1a56426fe01c4a44 |