Chart.js/docs
2021-02-21 18:17:01 +02:00
..
docs Added 'hidden: boolean' to ControllerDatasetOptions type and documented the field's usage in Dataset configuration section (#8478) 2021-02-21 18:17:01 +02:00
src Document the context properties for ticks (#7399) 2020-06-08 17:31:54 -04:00
static/img
docusaurus.config.js Update .editorconfig and fix conf indents (#8442) 2021-02-17 08:11:40 -05:00
package-lock.json Upgrade Docusaurus (#8262) 2021-01-02 08:49:11 +02:00
package.json Upgrade Docusaurus (#8262) 2021-01-02 08:49:11 +02:00
README.md Add markdown linting, fix errors (#8449) 2021-02-18 08:17:39 -05:00
sidebars.js Clarify options placement (#8427) 2021-02-19 11:44:05 -05:00

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

npm install

Local Development

npm run start

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

Build

npm run build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

GIT_USER=<Your GitHub username> USE_SSH=true npm run deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.