Skip to content

Commit

Permalink
Adjust docs build
Browse files Browse the repository at this point in the history
  • Loading branch information
jxnblk committed Jun 19, 2018
1 parent 2b722aa commit 67735e1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ before_deploy:
- npm run build
- npm run svg
- npm run card
- cp docs/card.png site
- cp site/index.html site/404.html
deploy:
provider: pages
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,18 @@ with support for

[![Build Status][badge]][travis]
[![Coverage][coverage-badge]][coverage]
[![Downloads][downloads-badge]][npm]
[![Version][version-badge]][npm]

[badge]: https://img.shields.io/travis/jxnblk/rebass.svg?style=flat-square
[travis]: https://travis-ci.org/jxnblk/rebass
[coverage-badge]: https://img.shields.io/codecov/c/github/jxnblk/rebass.svg?style=flat-square
[coverage]: https://codecov.io/github/jxnblk/rebass

[downloads-badge]: https://img.shields.io/npm/dw/rebass.svg?style=flat-square
[version-badge]: https://img.shields.io/npm/v/rebass.svg?style=flat-square
[npm]: https://npmjs.com/package/rebass

http://jxnblk.com/rebass

```sh
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"start": "ok docs",
"build": "ok build docs -d site",
"svg": "scrs docs/Logo.js --svg > docs/logo.svg",
"card": "repng docs/Card.js -w 1024 -h 512 -d docs -f card.png"
"card": "mkdir -p site && repng docs/Card.js -w 1024 -h 512 -d site -f card.png"
},
"keywords": [
"components",
Expand Down

0 comments on commit 67735e1

Please sign in to comment.