Skip to content

Commit b56e00e

Browse files
authored
Fix documentation previews in pull requests (OpenZeppelin#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
1 parent 0c644cc commit b56e00e

7 files changed

+2711
-1364
lines changed

.gitignore

-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ build/
4343

4444
# docs artifacts
4545
docs/modules/api
46-
openzeppelin-docs
4746

4847
# only used to package @openzeppelin/contracts
4948
contracts/build/

netlify.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build]
2-
command = "npm run docs build"
3-
publish = "openzeppelin-docs/build/site"
2+
command = "npm run docs"
3+
publish = "build/site"

0 commit comments

Comments
 (0)