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

GitBook #76

Open SamyPesse opened 9 years ago

SamyPesse commented 9 years ago

This PR switches the book over to the gitbook format, simplifying the build process and setup :book: :boom: .

screen shot 2015-01-14 at 21 28 17

You can test it using:

# Install GitBook
$ npm i gitbook -g

# Install plugins
$ gitbook install

# Build and preview the book
$ gitbook serve
jehoshua02 commented 9 years ago

I know the gitbook docs instruct to install gitbook globally, but is it possible to install it as a project dependency? You don't want to write the book against one version of gitbook and build with a non-backward compatible version later. Installing it globally, other developers have no idea what version of gitbook was originally used.

AaronO commented 9 years ago

@jehoshua02 Answered you here : https://github.com/GitbookIO/gitbook/issues/554

sindresorhus commented 9 years ago

I also have big concerns about having to install gitbook only globally: https://github.com/GitbookIO/gitbook/issues/554#issuecomment-70080523

AaronO commented 9 years ago

@sindresorhus By the way GitBook 2.0.0 that's now released supports granular versions.

Are you still interested in this PR ? You would get automatic builds for free (no hassle).

sindresorhus commented 9 years ago

@AaronO Good choice. Yeah, definitely :)