Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'showLastUpdateTime' being rendered incorrectly when deployed through Cloudflare, Vercel... #10148

Closed
2 tasks done
namnguyenthanhwork opened this issue May 19, 2024 · 1 comment
Labels
documentation The issue is related to the documentation of Docusaurus

Comments

@namnguyenthanhwork
Copy link
Contributor

Have you read the Contributing Guidelines on issues?

Description

showLastUpdateTime key maybe working incorrectly when deployed through Cloudflare, Vercel... I don't update my docs, but when I deployed, all docs page updated latest date.

Self-service

  • I'd be willing to address this documentation request myself.
@namnguyenthanhwork namnguyenthanhwork added documentation The issue is related to the documentation of Docusaurus status: needs triage This issue has not been triaged by maintainers labels May 19, 2024
@ilg-ul
Copy link
Contributor

ilg-ul commented May 19, 2024

I don't know the specifics of your deployment method, but if the update time is computed from the git commit dates, you need to make sure you do a deep git clone. A shallow one (depth = 1) results in all pages having the lastUpdateTime set to the time when the clone was performed.

@OzakIOne OzakIOne removed the status: needs triage This issue has not been triaged by maintainers label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation The issue is related to the documentation of Docusaurus
Projects
None yet
Development

No branches or pull requests

3 participants