gitbook-edit is a Gitbook plugin for providing a button on the toolbar for readers to edit their github projects.
add the following plugins to your book.json
and run gitbook install
{
"plugins": ["github-edit"]
}
just find plugin on gitbook and install it on your gitbook project.
configuration option can be set as an obj like, and of course you can use a default value shown as followed:
{
"plugins": [
"github-edit"
],
"pluginsConfig": {
"github-edit": {
"repo": "aleen42/PersonalWiki",
"branch": "master"
}
}
}
- ==================== 1.0.4 Initial release ====================
- 1.0.5 update readme
- 1.0.6 update readme
- 1.0.8 consider the case of using a
root
property - 1.0.9 fix the problem of getting wrong file path
Have an idea? Found a bug? See how to contribute.
MIT © aleen42