-
-
Notifications
You must be signed in to change notification settings - Fork 831
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
Describe the Feature Request
Hej!
The Stencil compiler automatically finds props and events that can then be automatically documented. The compiler also finds slots, but only through JSDoc. Seeing as the compiler has access to the complete component source code, would it be possible to automatically find slots in the code and document these? The @slot tag could still be used to write manual documentation for slots.
Describe the Use Case
By automatically finding slots in the source code it would show up in documentation. I'd argue it's better to have the slots acknowledged without a human written description than not exist there at all.
Describe Preferred Solution
I'd like for the compiler to both find slots in the source code and the JSDoc tags and add these to the documentation, be it JSON, Markdown or something else.
Describe Alternatives
No response
Related Code
No response
Additional Information
No response