I'm reading through the GitHub API and found that aside from the per_page parameter, there's also a page parameters, which doesn't seem to be used in the code:
|
# REST endpoint is in the form https://api.github.com/repos/[repository]/commits?path=[uri-encoded-path]&sha=[branch]&per_page=100 |
|
url = self.githuburl + "/repos/" + self.config['repository'] + "/commits?path=" + requests.utils.quote(path) + "&sha=" + self.branch + "&per_page=100" |
This may cause older commits to be ignored. However, I think this case does not happen frequently since the history of a certain file rarely exceeds 100 commits.
I'm reading through the GitHub API and found that aside from the
per_pageparameter, there's also apageparameters, which doesn't seem to be used in the code:mkdocs-git-committers-plugin-2/mkdocs_git_committers_plugin_2/plugin.py
Lines 100 to 101 in 07bc150
This may cause older commits to be ignored. However, I think this case does not happen frequently since the history of a certain file rarely exceeds 100 commits.