Commit Graph

19 Commits

Author SHA1 Message Date
Jukka Kurkela
829470c099
More script error fixes (#8820) 2021-04-04 09:26:41 -04:00
Jukka Kurkela
da9d12ee45
Fix utils.sh location (#8819) 2021-04-04 09:19:22 -04:00
Jukka Kurkela
c6d43bbbc5
Update release process to create versioned docs (#8817)
* Update release process to create versioned docs
* Remove test, separate tag
2021-04-04 09:10:29 -04:00
Evert Timberg
d4cb431b84
Remove old sample files (#8777)
* Remove old sample files

* Code review feedback

* Add sample redirect
2021-04-02 09:10:03 -04:00
Evert Timberg
ed2b96eeaf
Switch docs to Vuepress to match other chart.js repositories (#8751)
* 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>
2021-03-30 10:32:39 -04:00
Evert Timberg
efa0ade501
Update workflow to use GitHub releaes (#7891) 2020-10-15 16:37:38 -04:00
Evert Timberg
c97f7f4bc4
Ensure scripts are marked as executable in git (#7882) 2020-10-14 06:53:12 -04:00
Evert Timberg
ff354cc5b8
Remove release branch workflow (#7827)
* GitHub actions uses locked install for CI
* Add initial GitHub action to publish to NPM
* Detect the NPM tag (latest vs next) depending on the git tag
* Deploy docs from releases & master commits
* Remove Travis CI
* Update repo badge to use actions status
* Remove Travis env vars and update docs-config to take a parameter
* Update publish script regex to match other scripts
* Deploy docs action only runs in one spot
2020-10-13 17:12:19 -04:00
Jukka Kurkela
064a2f3a0b
Replace gulp with npm scripts (#7402)
Gulp removed from toolchain in favour of simpler build process
2020-05-27 17:14:17 -04:00
Jukka Kurkela
986f72f933
Rename dist/Chart* to dist/chart* (#7416)
* Rename dist/Chart* to dist/chart*
* Add a note to migration docs
* Review update
2020-05-25 16:54:22 -04:00
Ben McCann
2851a94b92
Migrate from GitBook to Docusaurus (#7295)
Migrate from GitBook to Docusaurus
2020-05-05 15:19:57 -04:00
Ben McCann
29f6c67fb3
Finish removing bower (#7294) 2020-04-28 17:34:49 -04:00
Evert Timberg
6836e514bf
Make update_latest work with alpha, beta, etc. (#7177)
Make update_latest work with alpha, beta, etc.
2020-03-05 18:05:02 -05:00
Ben McCann
ee7520b710
Remove css from deploy scripts (#7131) 2020-02-20 09:42:06 -05:00
Jukka Kurkela
bd4537cae4
Fix deploy.sh if (#7132) 2020-02-20 09:41:27 -05:00
Ben McCann
ce321bb815
Look for any branch starting with release (#7087) 2020-02-11 11:52:10 -05:00
Simon Brunel
55128f74c1 Move CSS in a separate file to be CSP-compliant (#6048)
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`.
2019-02-08 19:06:04 +01:00
Simon Brunel
9f67266df3 Deploy to GitHub pages (#4256)
Add Travis CI task to deploy the docs, samples and dist files to chartjs.github.io for the `release` and `master` branches. A `latest` symbolic links is also created for each folder to the highest version (or `master` if any).
2017-05-19 21:58:34 +02:00
Simon Brunel
e8a51d80c8 #3033 Deploy dist files and bower.json (tags)
Add a new Travis deploy task to push dist/*.js and bower.json files into tag sources:
- requires Travis GITHUB_AUTH_TOKEN and GITHUB_AUTH_EMAIL environment variables
- skipped if not built from the "release" branch
- release.sh must be executable (see comment)
- reads tag version from package.json
- fails if tag already exists
2016-08-28 18:21:12 +02:00