Fix documentation previews in pull requests (#2015)

* migrate to openzeppelin-docs-preview script

* update netlify configuration

* update docs-preview-script dependency

* remove old docs directory from gitignore

* update oz-docs script for live reload

* update oz-docs scripts to latest

* replace child_process.execFileSync with spawnSync

* update oz-docs-preview
This commit is contained in:
Francisco Giordano
2019-12-02 19:13:13 -03:00
committed by GitHub
parent 0c644cc470
commit b56e00eb61
7 changed files with 2503 additions and 1156 deletions

View File

@ -12,7 +12,8 @@
"scripts": {
"compile": "scripts/compile.sh",
"coverage": "scripts/coverage.sh",
"docs": "scripts/docs.sh",
"docs": "oz-docs -c docs",
"docs:watch": "npm run docs watch contracts 'docs/*.hbs'",
"prepare-docs": "scripts/prepare-docs.sh",
"lint": "npm run lint:js && npm run lint:sol",
"lint:fix": "npm run lint:js:fix",
@ -49,7 +50,6 @@
"@openzeppelin/test-environment": "^0.1.1",
"@openzeppelin/test-helpers": "^0.5.4",
"chai": "^4.2.0",
"concurrently": "^5.0.0",
"eslint": "^6.5.1",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
@ -59,11 +59,10 @@
"eslint-plugin-standard": "^4.0.1",
"ethereumjs-util": "^6.2.0",
"ganache-core-coverage": "https://github.com/OpenZeppelin/ganache-core-coverage/releases/download/2.5.3-coverage/ganache-core-coverage-2.5.3.tgz",
"http-server": "^0.11.1",
"lodash.startcase": "^4.4.0",
"micromatch": "^4.0.2",
"mocha": "^6.2.2",
"nodemon": "^2.0.1",
"openzeppelin-docs-preview": "github:OpenZeppelin/docs-preview-script",
"solhint": "2.3.0",
"solidity-coverage": "github:rotcivegaf/solidity-coverage#5875f5b7bc74d447f3312c9c0e9fc7814b482477",
"solidity-docgen": "^0.3.13"