Edit This Page
How to contribute?
This is detailed guide for contributors.
All contributors must understand that this book is highly opinionted. This means, it might happen that you may not agree this some portion and your attempt to edit it, by sending pull request is rejected.
Of course, we are open to discussion about every aspect of this book no matter how small it may sound. We request you to please be patience and polite when contributing.
- Can be done better using
Edit on github link on every page
- Clicking that link will take you to github repo for this book-project.
- Github may ask you to fork the repo, if this is your first time. Feel free to fork it.
- Once you are done with edits, please send a pull requets.
Following is recommended workflow:
- Please fork this repo and send pull requests.
- For minor edits, you edit pages using Github's web-based editor.
- For major edits, it will be better to use gitbook-editor on localhost.
- It will be useful to check gitbook help docs. Not all docs may be useful to you.
Please feel free to open a github issue if you need more help.
- Check if nodejs and npm are installed on your machine. Run commands
node -v and
npm -v respectively. If not follow this on ubuntu or use
brw install nodejs npm on mac.
- Fork https://github.com/wpveda/book/ on github.
- Install gitbook (globally) -
npm install -g gitbook
- Clone your forked repo -
git clone <forked-repo-url>
- Change directory to gitbook -
cd book (assuming your forked repo is also named as
- Install gitbook plugins -
- Build gitbook -
- Preview gitbook -
gitbook serve and open http://localhost:4000
- For offline editing - desktop tool gitbook editor can be used - https://github.com/GitbookIO/editor/releases
- Once you download Gitbook editor, open
content folder from your forked & locally cloned git repo.