mkdocs-git-committers-plugin-2 icon indicating copy to clipboard operation
mkdocs-git-committers-plugin-2 copied to clipboard

cannot access gitlab repo

Open yuclin opened this issue 9 months ago • 1 comments

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?

yuclin avatar Mar 20 '25 08:03 yuclin

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?

aleksan4eg avatar Mar 21 '25 15:03 aleksan4eg