Inside it is <r4-docs> which reads the manifest and renders docs for the modules defined in it
Currently r4-docs renders the manifest twice in two different styles. First is copy/pasted/adapted from the lit-starter template. Second is just a quick <pre> tag.
More thoughts..
Do we want r4-docs inside src/components instead?
Is /docs.html cool?
Do we even want this or something completely different?
With the current styles it's pretty unreadable.
Thinking about it, we could also use eleventy or something to quickly generate static docs. Then no JS is needed. I don't mind either way.
Experimenting how we could add more API docs for the components.
npm run manifest
which generatespublic/custom-elements.json
from our components via https://custom-elements-manifest.open-wc.org/docs.html
page.<r4-docs>
which reads the manifest and renders docs for the modules defined in itCurrently r4-docs renders the manifest twice in two different styles. First is copy/pasted/adapted from the lit-starter template. Second is just a quick
<pre>
tag.More thoughts..
Do we want r4-docs inside src/components instead? Is /docs.html cool? Do we even want this or something completely different? With the current styles it's pretty unreadable. Thinking about it, we could also use eleventy or something to quickly generate static docs. Then no JS is needed. I don't mind either way.