Skip to main content

Sphinx chart extension using NVD3.js.

Project description

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_javascript("/path/to/d3.v3.js")
    app.add_javascript("/path/to/nv.d3.js")
    app.add_stylesheet("/path/to/nv.d3.css")

And then:

$ make html

Requirement

  • python-nvd3 >= 0.3.16

  • D3.js >= 3.x

  • Sphinx >= 1.3

License

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

Authors

Sphinx Directive and packaging

Contributors

  • m-vdb

Changes

0.1.5 (18 Feb, 2017)

  • add parallel doc build option

0.1.4 (25 Oct, 2015)

  • add new option ‘window_onload’

0.1.3 (19 Apr, 2015)

  • enable to accept dataset from directive content

0.1.2 (16 Apr, 2015)

  • fix packaging failure

0.1.1 (08 Apr, 2015)

  • add new option

0.1.0 (08 Apr, 2015)

  • first release

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.1.5.tar.gz (200.2 kB view details)

Uploaded Source

File details

Details for the file sphinxcontrib.nvd3-0.1.5.tar.gz.

File metadata

File hashes

Hashes for sphinxcontrib.nvd3-0.1.5.tar.gz
Algorithm Hash digest
SHA256 b7147ce89388e636e7c8e9854645900621c653d92314f59bf1a96b87dadd6a6b
MD5 e859b032153f5cb8b4dc02ac1723c447
BLAKE2b-256 7582602ae2ac443190304c21932f27c940fed988725c4e43478d9574c11513b3

See more details on using hashes here.

Supported by

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