Skip to main content

Sphinx chart extension using NVD3.js.

Project description

master Documentation Status Latest Python Versions License

Sphinx chart extension using NVD3.

Feature

  • provide some kinds of nvd3- prefixed directives to generate SVG chart from source.

Installation

Install with pip:

$ pip install sphinxcontrib.nvd3

setup conf.py with:

extensions = ["sphinxcontrib.nvd3"]

This package is NOT includes Javascript and CSS files (e.g. d3.js, nvd3.js and nvd3.css).

You need to add setup function into conf.py, as below:

def setup(app):
    app.add_js_file("/path/to/d3.v3.js")
    app.add_js_file("/path/to/nv.d3.js")
    app.add_css_file("/path/to/nv.d3.css")

And then:

$ make html

Requirement

  • python-nvd3 >= 0.13.10

  • D3.js >= 3.0,<4.0

  • Sphinx >= 3.0

License

Licensed under the Apache Software License . See the LICENSE file for specific terms.

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.nvd3-0.2.1.tar.gz (5.7 kB view hashes)

Uploaded Source

Built Distribution

sphinxcontrib.nvd3-0.2.1-py3-none-any.whl (6.6 kB view hashes)

Uploaded 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