mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
* 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
16 lines
529 B
JSON
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": {}
|
|
}
|