Skip to content

In the Docs addon, import description from a Readme file #8987

@aleshh

Description

@aleshh

Is your feature request related to a problem? Please describe.
The docs addon default functionality is awesome, except that the description field is populated from JSDocs within the component file.

Describe the solution you'd like
An parameter for the docs addon to use a .mdx file for the description that retains all the other default docs functionality.

Describe alternatives you've considered
The readme addon sort of works, but it also adds the readme to the canvas, and adds a mandatory sidebar. Seems maybe I can I do this with a slot function, but I can't find any example code.

Are you able to assist bring the feature to reality?
no

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions