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

Document solution to "docs last update" date being rendered incorrectly when published through Vercel #10031

Open
1 of 2 tasks
granny opened this issue Apr 9, 2024 · 0 comments
Labels
documentation The issue is related to the documentation of Docusaurus status: needs triage This issue has not been triaged by maintainers

Comments

@granny
Copy link

granny commented Apr 9, 2024

Have you read the Contributing Guidelines on issues?

Description

Setting the VERCEL_DEEP_CLONE environment variable to true through vercel's Project Settings page will fix the "docs last update" date being rendered incorrectly when published through Vercel.

It should be documented in the field description of showLastUpdateTime.

It should also be documented under Deploying to Vercel. (I understand the decision to keep the "deployment" section mostly as-is.)

An aside:

A broader approach/solution would involve outputting a warning in the console if the repository is shallow and the showLastUpdateTime field is enabled. The warning would include the relevant solution for GitHub Actions or Vercel, depending on which one is being used.

Self-service

  • I'd be willing to address this documentation request myself.
@granny granny added documentation The issue is related to the documentation of Docusaurus status: needs triage This issue has not been triaged by maintainers labels Apr 9, 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 status: needs triage This issue has not been triaged by maintainers
Projects
None yet
Development

No branches or pull requests

1 participant