Source

sphinx-contrib / googlechart /

Filename Size Date modified Message
..
docs
sphinxcontrib
37 B
1.4 KB
49 B
8.4 KB
129 B
1.5 KB
868 B

googlechart extension README

This is a sphinx extension which render charts and graphs by using Google Chart .

source:

.. piechart::

   dog: 100
   cat: 80
   rabbit: 40

rendered:

Setting

You can see available package at PyPI.

You can get source code at http://bitbucket.org/birkenfeld/sphinx-contrib/

Install

$ easy_install sphinxcontrib-googlechart

Configure Sphinx

To enable this extension, add sphinxcontrib.googlechart module to extensions option at :file:`conf.py`.

# Enabled extensions
extensions = ['sphinxcontrib.googlechart']

Directive

Graphviz charts on Google Chart

You can use Google Chart for graphviz chart generation. sphinxcontrib.googlechart.graphviz module is compatible with sphinx.ext.graphviz . This module does not depend to graphviz binaries.

If you want to use graphviz for Google Chart` , add sphinxcontrib.googlechart.graphviz module to extention option.

# Enabled extensions
extensions = ['sphinxcontrib.googlechart', 'sphinxcontrib.googlechart.graphviz']

Repository

This code is hosted by Bitbucket.

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