Skip to content

Commit

Permalink
Fix documentation previews in pull requests (#2015)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
frangio authored Dec 2, 2019
1 parent 0c644cc commit b56e00e
Show file tree
Hide file tree
Showing 7 changed files with 2,711 additions and 1,364 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ build/

# docs artifacts
docs/modules/api
openzeppelin-docs

# only used to package @openzeppelin/contracts
contracts/build/
Expand Down
4 changes: 2 additions & 2 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build]
command = "npm run docs build"
publish = "openzeppelin-docs/build/site"
command = "npm run docs"
publish = "build/site"
Loading

0 comments on commit b56e00e

Please sign in to comment.