You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the docs pages metadata is hardcoded and there is no option to customize it. It is not a separate component, but it is a part of DocItem file which I have to sizzle to removed the version badge from current docs, adjust styling and add CSS class to metadata block to be able to customize the design of it.
What would be nice to see:
ability to specify maximum number of last contributors from 1 to 5 (hardcoded: 1)
ability to specify the handle by which user is represented (hardcoded: name + surname)
as possible value it would be nice to have GitHub username, email or one of names used alone
ability to display user avatar or profile picture from GitHub (or Gravatar) with a nice fallback
ability to disable the date (hardcoded: always visible)
ability to customize the date format, including the relative formatting (hardcoded: DD/MM/YYYY)
From my perspective this is not a migration blocker rather a feature idea/request.
Ideally it would be good to have customizability at the level which allow to create the similar solution to the one used by GitBook, few examples (you need to scroll to the bottom of the pages):
@slorber GitBook is not a Open Source project. From my tests on the free tier there is no option to customize the page contributors (it looks like this feature is a part of their GitHub integration).
@Simek I think this issue should rather be opened on Docusaurus repo, as it's not something we had on v1, so not really part of the migration, yet would be a nice improvement for all Docusaurus users
Description
Currently the docs pages metadata is hardcoded and there is no option to customize it. It is not a separate component, but it is a part of
DocItem
file which I have to sizzle to removed the version badge from current docs, adjust styling and add CSS class to metadata block to be able to customize the design of it.What would be nice to see:
From my perspective this is not a migration blocker rather a feature idea/request.
Ideally it would be good to have customizability at the level which allow to create the similar solution to the one used by GitBook, few examples (you need to scroll to the bottom of the pages):
The text was updated successfully, but these errors were encountered: