Skip to content

Conversation

lampmaster
Copy link
Member

@lampmaster lampmaster commented Oct 10, 2025

It's a first approach; we will improve the docs template in the future (description, usage, and so on will be possible to add).

For now, the docs template contains only the following blocks:

  • Name of the component
  • Component
  • Import example (now for both cases - webpack and ES module)
    • doesn't work in old storie format - story should have "component: Componen" field
  • Controls with props description

Do not show all stories to the user.

Screenshot 2025-10-10 at 7 10 18 PM

@lampmaster lampmaster force-pushed the implement-custom-docs branch from 76e3494 to e1649f5 Compare October 16, 2025 14:28
@lampmaster
Copy link
Member Author

also template.stories.tsx + template.mdx created (updated CONTRIBUTING.md) to have one source of truth and have one story format for every component

@lampmaster lampmaster force-pushed the implement-custom-docs branch from e1649f5 to 9ee0796 Compare October 16, 2025 15:21
@lampmaster lampmaster merged commit e2ec2d4 into 8.0-beta Oct 17, 2025
3 checks passed
@lampmaster lampmaster deleted the implement-custom-docs branch October 17, 2025 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants