Skip to content

Comments

Fix docs generation: preserve multi-variant commands/drivers, add Events blurb, non-UTF8 character#1973

Merged
openshwprojects merged 14 commits intoopenshwprojects:mainfrom
divadiow:docs
Feb 6, 2026
Merged

Fix docs generation: preserve multi-variant commands/drivers, add Events blurb, non-UTF8 character#1973
openshwprojects merged 14 commits intoopenshwprojects:mainfrom
divadiow:docs

Conversation

@divadiow
Copy link
Contributor

@divadiow divadiow commented Feb 3, 2026

This PR improves the documentation generator and the generated docs output:

Fixes scripts/getcommands.js duplicate handling so multi-variant commands (e.g. IR IRSend/IREnable) are preserved without corrupting metadata (file attribution / mismatch checks), and driver definitions are merged safely without mutating stored objects.

Adds explicit requires tags to the legacy IR driver vs the IRremoteESP8266 driver (drv_ir.cpp / drv_ir_new.cpp) so the generated command tables clearly distinguish both implementations via "Req:"

Fixes docs/README.md showing "undefined" for Events by adding an "events" entry to generic.json.

Regenerate updated docs

@openshwprojects openshwprojects merged commit 1d0eb0a into openshwprojects:main Feb 6, 2026
59 checks passed
@github-actions
Copy link

github-actions bot commented Feb 6, 2026

🎉 This PR is included in version 1.18.256 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants