Skip to main content

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#37D74

Options 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 system

Options are same as figure directive .

Configuration Options

cacoo_apikey

API key for cacoo

Repository

This code is hosted by Bitbucket.

http://bitbucket.org/birkenfeld/sphinx-contrib/

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

sphinxcontrib-cacoo-0.1.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

sphinxcontrib_cacoo-0.1.0-py2.py3-none-any.whl (5.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

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