This repository contains the code for the "Documenting your Library" chapter on Pro D3.js for APress
Use this code to see an example of a basic D3.js-based charting library documentation. You can checkout the branches on the repository to follow through the steps on the book, or simply use this project as a jumpstart for your own library.
To install this code:
- Clone the repository
- Access it with
cd pro-d3-documenting
and - Install the dependencies by running
yarn
ornpm install
with npm(https://npmjs.org/) installed
Then, run:
yarn dev
to see the demos workingyarn test
to run the testsyarn build
to create the production build of the libraryyarn docs
to run the documentation
ISC