* getcommnads.js:
Add text and link to obk_config.h for defines used to enable a driver
Added first simple way to generate basic "events" documentation
* Add first version for the new documents "docs/events.md" and "docs/json/events.json"
* Changed handling of HTML-encoding of "<" and ">"
* Add new version of driver.md, too
* Fix missing "onHassDiscovery" and "XX_AppendInformationToHTTPIndexPage()"
Fixes to drv_main.c (some missing args for "onHassDiscovery") - changed format to have one line per argument and driver
Fixed missing arg "bPreState" in some XX_AppendInformationToHTTPIndexPage() functions
* fix getcommands for new structure of drv_main.c (commands may be mutliple lines long)
* Make comments for "duplicate" drivers more readble
* Fix sourcefiles for documentation done with getcommands.js
Mainly missing comments or comments "contradicted" by function calls
* fixed one missed comment
* Fix path in descriprion command
make getcommands.js testing duplicates for content
- if content (=documentation) is equal, show that ist potentially safe to ignore
* fix getcommands.js
Fix parsing
don't overwrite source files but generate alternate file
* Fix comments so "getcommands.js" won't complain.
Hpoe I got descriptions right ...
* Some more comments to fill "qqq" fields ...
* Fix getcommands.js generatind fn-entries for registered commands
Fix all source files with wrong "NULL);" as fn
* add some more tests to getcommands.js to verify commands:
check filename of command
check fn called
some more fixes to documentation commands as result from above tests
* Fixed one typo in the battery commands, also added description for Map command.
* Generated the doc files to see if my changes worked.
* Sorted commands array to make it easier to find command information
* Fixed some command descriptions. Sorted commands in docs list.
* Fixed command sorting to be case-insensitive
* Removed extra comments on SendPost added by docs script.
can be run via
npm run getcommands
or
node scripts/getcommands.js
examines source for command registeration, moves stuff into comments and removes C strings..