Skip to content

Authors not returned for Github Enterprise #56

@jesusmah

Description

@jesusmah

Im using the mkdocs-git-committers-plugin-2 version 2.3.0 and it does not seem to be able to properly return the authors for each page...

I can see the plugin working fine in the logs:

INFO    -  Building documentation...
INFO    -  git-committers plugin ENABLED
INFO    -  Cleaning site directory
INFO    -  git-committers: fetching contributors for docs/index.md
INFO    -  git-committers: fetching contributors for docs/contributing.md
INFO    -  git-committers: fetching contributors for docs/openshift/airgap-4-12.md
INFO    -  git-committers: fetching contributors for docs/openshift/devops-exercises-4-12.md
INFO    -  git-committers: fetching contributors for docs/openshift/ipi-4-14.md
INFO    -  git-committers: saving page authors cache file
INFO    -  Documentation built in 5.30 seconds

However, the cache folder in its page-authors.json contains empty authors list:

{"cache_date": "2024-03-20", "page_authors": {"docs/index.md": {"last_commit_date": "2023-10-23", "authors": []}, "docs/contributing.md": {"last_commit_date": "2023-10-23", "authors": []}, "docs/openshift/airgap-4-12.md": {"last_commit_date": "2023-11-09", "authors": []}, "docs/openshift/devops-exercises-4-12.md": {"last_commit_date": "2024-03-08", "authors": []}, "docs/openshift/ipi-4-14.md": {"last_commit_date": "2024-03-06", "authors": []}}}

The github token Im using if plenty of permissions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions