* Initial work
* Update doc commands
* Updated sidebar config
* Move docs
* Update theme version and enable
* Convert to chart.js sample
* Update scripts to point to local build
* Chart.js from local build
* Simplify getting-started example
* Axis docs updated except for imported content
* Common ticks import works
* Chart type docs ported to editor plugin
* Last pages to use editor
* Fix small errors
* Frontmatter title to heading
* Remove duplicate example
* Update sidebar
* Add paths
* Remove paths
* Add getting-started back
* Update menus and add copyright to license section of the docs
* Add GA plugin
* Style sub-groups
* Remove unneeded license page since it is covered on the main page
* Remove docusaurus readme page
* Remove docusaurus files
* Fix issues in docs
* Build and deploy scripts for docs work
* Conditional base URL for nice local testing
* Use eslint-plugin-markdown
* Remove hard coded lines
* Remove mentions of docusaurus
Co-authored-by: Jukka Kurkela <jukka.kurkela@gmail.com>
In order to be compatible with any CSP, we need to prevent the automatic creation of the DOM 'style' element and offer our CSS as a separate file that can be manually loaded (`Chart.js` or `Chart.min.js`). Users can now opt-out the style injection using `Chart.platform.disableCSSInjection = true` (note that the style sheet is now injected on the first chart creation).
To prevent duplicating and maintaining the same CSS code at different places, move all these rules in `platform.dom.css` and write a minimal rollup plugin to inject that style as string in `platform.dom.js`. Additionally, this plugin extract the imported style in `./dist/Chart.js` and `./dist/Chart.min.js`.