Open
Description
What problem does this feature solve?
It is nice that rspress
supports lastUpdated
! But popular tools like docusaurus supports things like: showLastUpdateAuthor
which shows not only the updated time but also the author.
It would be nice if rspress
could support this. It would be even better if the displayed content could be customized(we use pnpm patch
tricks in docusaurus to display the user.email
of the author instead of the default user.name
).
What does the proposed API look like?
- Enabled by
lastUpdated: true
. - New config:
lastUpdatedAuthor
:- Set to
false
to disable displaying author. - Set to
(path: string) => string
to modify the display text.
- Set to
Activity