mkdocs-git-committers-plugin-2
mkdocs-git-committers-plugin-2 copied to clipboard
cannot access gitlab repo
I want to use self-hosted gitlab for this git-committers plugin.
Here are the code I wrote at mkdoc.yml
plugins:
- git-committers:
gitlab_hostname: gitlab.example.com
gitlab_repository: 123456
branch: main
token: 'token'
api_version: v4
But it showed "git.exc.InvalidGitRepositoryError" Is there anything I configured uncorrectly?
I have tried to setup mkdocs-git-committers on a self-hosted GitLab today and it worked for me.
plugins:
- git-committers:
gitlab_hostname: gitlab.example.com
gitlab_repository: 1234
branch: master
token: token
Try to check the build log output in a console. Is your repo/project/gitlab public? Is your token valid?