Chart.js/docs
2021-02-22 08:53:13 -05:00
..
docs Add linting of .mdx files + fix errors (#8496) 2021-02-22 08:53:13 -05:00
src Document the context properties for ticks (#7399) 2020-06-08 17:31:54 -04:00
static/img Migrate from GitBook to Docusaurus (#7295) 2020-05-05 15:19:57 -04:00
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 Sample plugin in docs for canvas background (#8492) 2021-02-22 08:52:57 -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.