I found no clear tutorial/content on the web to teach you how to publish a gitbook on github, they all assume you have some sort of prior knowledge. Here will explain a way to do it, after stumbling on it for hours.
finished and published the initial qbit wiki book at http://fadihub.github.io/qbit-wiki-book/
-----------------------------------------------------------
There many ways to do it, i found this to be the easiest:
-Create a repo on github.
-Create a branch called gh-pages this is where you will host your page, if you name it differently it won't work.
-Install npm here is a link to help with the instalation http://blog.npmjs.org/post/85484771375/how-to-install-npm
-Using npm istall gitbook with the following command on your terminal npm install gitbook.
-Download gitbook editor from here https://github.com/GitbookIO/editor/releases.
-Using the editor open an empty folder to create a new book.
-Write your content on the editor
-With your terminal gitbook publish.
-cd into ~/_book and push it onto gh-pages branch on github.
-Then you can view your page on yourUsername.github.io/yourRepoName
this quick tutorial assumes you know how to use github (pushing pulling etc....)
No comments:
Post a Comment