Skip to content

Add ability to configure docs page metadata #37

@Simek

Description

@Simek

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:

  • 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):

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions