Files
KaTeX/website/package.json
ylemkimon 69a7634a56 Improve release script & enable versioning documentation (#1521)
* Add version selection page

* Update the CDN urls in the documentation

* Generate new version and publish documentation in release script

* Update CDN urls when NEXT_VERSION is not provided

* Remove bower-related from release script

* Improve instructions running on the release branch 

and without next version

* Add a suffix to the branch name

* Update CSS stylesheet replacement

* Update release.sh

* Change npm to Yarn

* Fix calling `version` script

* Run `prestart` in `version`

* Wrap `Latest Version` descriptions with p tag

* Explicitly specify files to commit in the website
2018-08-08 08:52:28 +09:00

16 lines
529 B
JSON

{
"scripts": {
"prestart": "cp ../docs/cli.md.template ../docs/cli.md && node ../cli.js markdown-help >> ../docs/cli.md",
"start": "docusaurus-start",
"build": "npm run prestart && docusaurus-build",
"publish-gh-pages": "npm run prestart && docusaurus-publish",
"write-translations": "docusaurus-write-translations",
"version": "npm run prestart && docusaurus-version",
"rename-version": "docusaurus-rename-version"
},
"devDependencies": {
"docusaurus": "^1.3.2"
},
"dependencies": {}
}