MycroftAI / mycroft-gui

The Graphical User Interface used by the Mycroft Mark II and more
Apache License 2.0
167 stars 57 forks source link

Be helpful for a skill developer - help him fix hints #52

Closed tcanabrava closed 4 years ago

tcanabrava commented 4 years ago

While working on my reddit skill had problems displaying hints, as there's no documentation on it. We need to at least tell the developer that his README.md is missing a section to have a hint properly extracted.

This patch does exactly that:

qml: Loading hints from /opt/mycroft/skills/mycroft-timer.mycroftai/README.md
qml: All good. 

qml: Loading hints from /opt/mycroft/skills/mycroft-installer.mycroftai/README.md
qml: README.md file is not properly defined, it's missing data for the following regex:
qml: /Examples \n.*"(.*)"\n\*\s"(.*)"/g
qml: Please fix the README.md file of the skill
qml: This warning is for skill developers
qml: if you are not a developer, fill a bug on the corresponding skill.
AIIX commented 4 years ago

works for me