Skip to content

A gitbook plugin that adds the list of contributors for each page (works only with GitHub)

License

Notifications You must be signed in to change notification settings

sandoche/Gitbook-plugin-contributors-each-page

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gitbook-plugin-contributors-each-page

GitHub Medium Badge Twitter: sandochee

A gitbook plugins that adds the list of contributors for each page (works only with GitHub)

Example

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

⭐️ Show your support

Please ⭐️ this repository if this project helped you!

patreon.png

🍺 Buy me a beer

If you like this project, feel free to donate:

  • PayPal: https://www.paypal.me/kanbanote
  • Bitcoin: 19JiNZ1LkMaz57tewqJaTg2hQWH4RgW4Yp
  • Ethereum: 0xded81fa4624e05339924355fe3504ba9587d5419
  • Monero: 43jqzMquW2q989UKSrB2YbeffhmJhbYb2Yxu289bv7pLRh4xVgMKj5yTd52iL6x1dvCYs9ERg5biHYxMjGkpSTs6S2jMyJn
  • Motive: MOTIV-25T5-SD65-V7LJ-BBWRD (Get Motive Now: https://motive.network)

About

A gitbook plugin that adds the list of contributors for each page (works only with GitHub)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published