Skip to content

Commit 153043d

Browse files
committed
Fix token explanation
1 parent 87d8457 commit 153043d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ unless you access private repositories.
5858
- `repository` - For GitHub, the name of the repository, e.g. 'ojacques/mkdocs-git-committers-plugin-2'
5959
- `gitlab_repository` - For GitLab, the project ID, e.g. '12345678'
6060
- `branch` - The name of the branch to get contributors from. Example: 'master' (default)
61-
- `token` - A github fine-grained token for GitHub GraphQL API calls (classic tokens work too). The token does not need any scope: uncheck everything when creating the GitHub Token at [github.com/settings/personal-access-tokens/new](https://github.com/settings/personal-access-tokens/new), unless you access private repositories.
61+
- `token` - A GitHub or GitLab personal access token for REST API calls. The token does not need any scope: uncheck everything when creating the GitHub Token at [github.com/settings/personal-access-tokens/new](https://github.com/settings/personal-access-tokens/new), unless you access private repositories. For GitLab, create a token at [gitlab.com/-/profile/personal_access_tokens](https://gitlab.com/-/profile/personal_access_tokens).
6262
- `enterprise_hostname` - For GitHub enterprise: the GitHub enterprise hostname.
6363
- `gitlab_hostname` - For GitLab: the GitLab hostname if different from gitlab.com (self-hosted).
6464
- `docs_path` - the path to the documentation folder. Defaults to `docs`.

0 commit comments

Comments
 (0)