diff options
author | Mark Otto <markdotto@gmail.com> | 2019-08-01 01:24:44 +0300 |
---|---|---|
committer | Mark Otto <markdotto@gmail.com> | 2019-08-01 01:24:44 +0300 |
commit | 49eb75e94b43b3c709ecf2cf8a970e96572c877e (patch) | |
tree | 489c48742987e53cd1f71435252f8ed22ebb332c /README.md | |
parent | cc764e0646f8353bbcd29c2aabb24daf8b1c90ad (diff) |
readme update
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -25,6 +25,28 @@ npm i bootstrap-icons --save ``` +## Development + +Clone the repo, install dependencies, and start the Jekyll server locally. + +``` +git clone https://github.com/twbs/icons/ +cd icons +gem install jekyll +npm i +jekyll serve +``` + +Then open http://localhost:4000 in your browser. + +## Publishing + +Docs are published via an npm script that builds the Jekyll site, creates a temporary Git repo, and force pushes that to our `gh-pages` branch. This circumvents issues with GitHub Pages not accepting third party plugins and symlinked directories. + +``` +npm run publish +``` + ## Todos Help wanted if you have ideas how to tackle these! |