Skip to main content

Sphinx "cacoo" extension; embed diagram from cacoo

Project description


This Sphinx extension allows you to embed diagrams on cacoo into your document:

.. image::

.. figure::

   caption of figure



$ pip install sphinxcontrib-cacoo

Configure Sphinx

Add sphinxcontrib.cacoo to extensions at

extensions += ['sphinxcontrib.cacoo']

And set your API key to cacoo_apikey:

cacoo_apikey = 'your apikey'


Please give an URL of caoo diagrams to image or figure directives as an argument:

.. image::

.. figure::

   caption of figure


For backward compatibility, this extension provides following two dirctives.

.. cacoo-image:: [URL]

This directive insert a diagram into the document. If your diagram has multiple sheets, specify sheetid after #.


.. cacoo-image::

.. cacoo-image::

Options are same as image directive .

.. cacoo-figure:: [URL]

This directive insert a diagram and its caption into the document.


.. cacoo-figure::

   Structure of this system

Options are same as figure directive .

Configuration Options


The API key for cacoo


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-2.0.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

sphinxcontrib_cacoo-2.0.0-py2.py3-none-any.whl (3.9 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