-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Last updated: feeding data through front matter, new "created" metadata #5691
Copy link
Copy link
Labels
domain: content pluginRelated to content plugin emitting metadata for theme consumptionRelated to content plugin emitting metadata for theme consumptionfeatureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.good first issueIf you are just getting started with Docusaurus, this issue should be a good place to begin.If you are just getting started with Docusaurus, this issue should be a good place to begin.status: accepting prThis issue has been accepted, and we are looking for community contributors to implement thisThis issue has been accepted, and we are looking for community contributors to implement this
Metadata
Metadata
Assignees
Labels
domain: content pluginRelated to content plugin emitting metadata for theme consumptionRelated to content plugin emitting metadata for theme consumptionfeatureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.This is not a bug or issue with Docusausus, per se. It is a feature request for the future.good first issueIf you are just getting started with Docusaurus, this issue should be a good place to begin.If you are just getting started with Docusaurus, this issue should be a good place to begin.status: accepting prThis issue has been accepted, and we are looking for community contributors to implement thisThis issue has been accepted, and we are looking for community contributors to implement this
Type
Fields
Give feedbackNo fields configured for issues without a type.
🚀 Feature
Two things:
Have you read the Contributing Guidelines on issues?
Yes
Has this been requested on Canny?
Requested multiple times on Discord
Motivation
The "created" metadata can be used to differentiate between "new" pages and "deprecated" pages. "Last updated" shouldn't be entirely relying on git history since that can be buggy sometimes.
API Design
Front matter options:
New config options
showCreateTimeandshowCreateAuthorThe implementation of "create time" shouldn't be too hard with git, but it can also be messed up in versioning, so🤷♂️ Front matter metadata FTW
Have you tried building it?
No