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
This commit is contained in:
ylemkimon
2018-08-08 08:52:28 +09:00
committed by GitHub
parent 98dd7fc912
commit 69a7634a56
3 changed files with 173 additions and 26 deletions

View File

@@ -5,7 +5,7 @@
"build": "npm run prestart && docusaurus-build",
"publish-gh-pages": "npm run prestart && docusaurus-publish",
"write-translations": "docusaurus-write-translations",
"version": "docusaurus-version",
"version": "npm run prestart && docusaurus-version",
"rename-version": "docusaurus-rename-version"
},
"devDependencies": {