mgeier / sphinx-last-updated-by-git

:watch: Get the "last updated" time for each Sphinx page from Git
BSD 2-Clause "Simplified" License
44 stars 9 forks source link

Dates are incorrect when building the docs in GitLab #76

Closed theletterf closed 4 months ago

theletterf commented 4 months ago

Hi there!

I'm trying to get accurate timestamps in the docs. We build them in GitLab; I set CICD to always perform full clones, so the entire git history is history is available. Nonetheless, dates always span a week time at most, so they're false.

I've read somewhere that git-restore-mtime might solve the issue? I don't see how, though. Do you know what else could be at play here?

We use Sphinx 5.1.1.

Thanks!

mgeier commented 4 months ago

Did you read the last bullet point in the README file?

theletterf commented 4 months ago

:) I have now. I'm not sure we'll be able to upgrade. I'll try. Perhaps we'll downgrade... I'll report back.

theletterf commented 4 months ago

Seems like that did it. Thanks!