tooling / book-of-modern-frontend-tooling

The Front-end Tooling Book
http://tooling.github.io/book-of-modern-frontend-tooling/
2.53k stars 177 forks source link

Get the book live: hosted HTML build #39

Open addyosmani opened 10 years ago

addyosmani commented 10 years ago

At the moment a reader can't preview what's been written so far without checking out the repo, doing an npm install and running the gulp build setup. I'd like to propose that we either:

  1. Add a gulp deploystep to the build process which can push the contents of dist to gh-pages for those with commit access. Possibly the cleanest option.
  2. Move master to gh-pages, make it the default branch and have an index.html which lives outside of the dist directory but can be used to view the book.

There are probably lots of other options available to us, but just opening the floor for discussions or PRs to bring something in place :)

sindresorhus commented 10 years ago

We just got a recipe in generator-gulp-webapp for 1.: https://github.com/yeoman/generator-gulp-webapp/blob/master/docs/recipes/gh-pages.md

sindresorhus commented 10 years ago

Anyone wanna set this up?