mirror of
https://github.com/tendermint/tendermint.git
synced 2026-01-08 06:15:33 +00:00
Per https://github.com/tendermint/docs/issues/20, it is no longer necessary to build the static documentation out of a separate repository. This change: - Adds an actions workflow to build and deploy the docs to GitHub Pages. - Updates some build settings in a compatible manner. This change does not affect the existing site deployment. To complete this change, we will need to update the custom domain pointer and disable the corresponding workflow in the tendermint/docs repository. Those changes can and must be done after this is merged. In the future should probably also move the build rule out of the Makefile and into the workflow directly. That will also make it easier to manage caching of build artifacts. For now, however, I've left it as-is, so that we do not break the active workflow on tendermint/docs, which depends on it.
24 lines
588 B
JSON
24 lines
588 B
JSON
{
|
|
"name": "docs",
|
|
"version": "1.0.0",
|
|
"description": "Tendermint Core Documentation",
|
|
"main": "index.js",
|
|
"dependencies": {
|
|
"vuepress-theme-cosmos": "^1.0.183"
|
|
},
|
|
"devDependencies": {
|
|
"@vuepress/plugin-html-redirect": "^0.1.4",
|
|
"watchpack": "^2.3.1"
|
|
},
|
|
"scripts": {
|
|
"preserve": "./pre.sh",
|
|
"serve": "trap 'exit 0' SIGINT; vuepress dev --no-cache",
|
|
"postserve": "./post.sh",
|
|
"prebuild": "./pre.sh",
|
|
"build": "trap 'exit 0' SIGINT; vuepress build --no-cache --silent",
|
|
"postbuild": "./post.sh"
|
|
},
|
|
"author": "",
|
|
"license": "ISC"
|
|
}
|