gitbook-plugin-contributors-each-page
v1.0.1 github authors contributors file specific contributions repository gibook
Gitbook-plugin-contributors-each-page
A gitbook plugins that adds the list of contributors for each page (works only with GitHub)
Example
Installation
npm install gitbook-plugin-contributors-each-page --save-dev
Update book.json, do not forget to replace owner and repository with your Github owner and Github repository name:
{
"plugins": [
"contributors-each-page"
],
"contributors-each-page": {
"owner": "naming-convention",
"repository": "naming-convention-guides",
"title": "Contributors",
"excluded": ["README.md"]
}
}
}
Excluded contains the array of filepath of file where you don't want to add the contributors.
To overcome the problem with the Github API, add a .env file on the root of your gitbook project, go there to create one: https://github.com/settings/tokens
GH_TOKEN=your_github_token
npm i gitbook-plugin-contributors-each-page
Metadata
- MIT
- Whatever
- Sandoche ADITTANE
- released 3/10/2019