Skip to content

Update from code changes: document lastUpdatedDate frontmatter - #6974

Open
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/2906f5ec
Open

Update from code changes: document lastUpdatedDate frontmatter#6974
mintlify[bot] wants to merge 2 commits into
mainfrom
mintlify/2906f5ec

Conversation

@mintlify

@mintlify mintlify Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Summary

The "Last modified on" footer now uses the lastUpdatedDate frontmatter field before falling back to the Git commit date or deployment timestamp. This is useful when Git history doesn't reflect real content updates, such as for docs mirrored from another system. The precedence is now lastUpdatedDate frontmatter → last Git commit date → most recent deployment timestamp. Documented on the Pages guide and referenced from the settings reference. Triggered by https://github.com/mintlify/mint/pull/10133.

Changes

  • organize/pages.mdx: Added lastUpdatedDate frontmatter field, example, and precedence to the "Last modified timestamp" section.
  • organize/settings-reference.mdx: Noted the per-page lastUpdatedDate override next to metadata.timestamp.
  • Mirrored the new guidance in es/, fr/, and zh/ translations of organize/pages.mdx.

Note

Low Risk
Documentation-only updates across English and translated pages; no runtime or config schema changes in this repo.

Overview
Documents the lastUpdatedDate page frontmatter field so authors can override the “Last modified” footer date when Git history or deployment time is wrong (for example mirrored docs).

The Pages guide (organize/pages.mdx and es / fr / zh translations) adds usage (date-only or ISO 8601), a YAML example, and precedence: lastUpdatedDate → last Git commit → latest deployment; invalid or empty values fall back to the commit date. Existing per-page timestamp show/hide behavior is unchanged.

The settings reference (metadata.timestamp) now points readers to that section for the per-page date override.

Reviewed by Cursor Bugbot for commit 233220b. Bugbot is set up for automated code reviews on this repo. Configure here.

@mintlify

mintlify Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
mintlify 🟢 Ready View Preview Aug 13, 2026, 11:49 PM

@mintlify

mintlify Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor Author

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
tomee 🟢 Ready View Preview Aug 13, 2026, 11:50 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant