Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hhatto/sphinxcontrib-gruffygen

render Graph Extension for Sphinx
https://github.com/hhatto/sphinxcontrib-gruffygen

Last synced: about 1 month ago
JSON representation

render Graph Extension for Sphinx

Awesome Lists containing this project

README

        

What's This
===========
This is Graphing extension for Sphinx_ .
This extension adds the ``gruffy`` directive that automatically render graph.

using Gruffy_ module.

.. _Sphinx: http://sphinx.pocoo.org/
.. _Gruffy: http://pypi.python.org/pypi/gruffy/

Install
=======
used to easy_install::

$ easy_install sphinxcontrib-gruffygen

Require
=======
Require Sphinx_ and Gruffy_

install::

$ easy_install sphinx
$ easy_install gruffy

Usage
=====
basic usage in sphinx documentation::

.. gruffy::
:type: SideBar
:title: test graph
:width: 500

data("foo", [1, 4, 3])
data("bar", [8, 2, 5])

set to following types,

* Area
* Bar
* Dot
* Line
* Pie
* SideBar
* StackedArea
* StackedBar
* StackedSideBar