mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
credits_generator
This tool can be used to update the Credits page for Home Assistant.
Setup
Fetch the dependencies with npm
.
$ cd credits_generator
$ npm install
Usage
Go to https://github.com/settings/tokens/new and generate a new GitHub personal access token.
Give the token any name and select the public_repo
and read:user
scopes.
Put the token in this repo in a file named .token
.
Run the script.
$ node update_credits.js
Commit the changes (depending on our setup).
$ git commit ../source/developers/credits.markdown
$ git push upstream