Component documentation#52
Conversation
✅ Deploy Preview for esphome-dev-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Sorry it took me so long to get eyes on this, @glmnet -- thanks for working on it! We definitely need this. I want to wait until the site migration is complete before we put this in, for two main reasons:
I'll do a mock-up once the new site is live and then we can review & discuss it more...and fine-tune what you've got in this PR to match. 😄 |
|
Hey buddy. Another very important point to work on which is not in this doc is to have established how to document when there is a 'typed' prop. It's now used more often and almost every doc author has his own idea on how to document the options. And then automating anything on that is impossible. The rest is kind of ok. May be also look later when documenting registries like filters. |
Draft:
A set of guidelines to document components, I guess I can make the new schema_doc.py which will parse the md format docs to also behave like a linter enforcing the rules stated here.