[#311] Logic to automatically generate the documentation for the dependencies of the integrations #330

Merged
blacklight merged 5 commits from 311/auto-generate-deps-docs into master 2023-09-30 02:31:43 +02:00
Owner

Added an add_dependencies plugin to the Sphinx build process that parses the manifest files of the scanned backends and plugins and automatically generates the documentation for the required dependencies and triggered events.

This means that those dependencies are no longer required to be listed in the docstring of the class itself.

Also in this commit:

  • Black/LINT for some integrations that hadn't been touched in a long time.

  • Deleted some leftovers from previous refactors (deprecated backend.mqtt, backend.zwave.mqtt, backend.http.request.rss).

  • Deleted deprecated inotify backend - replaced by file.monitor (see #289).

Closes: #311, #318

Added an `add_dependencies` plugin to the Sphinx build process that parses the manifest files of the scanned backends and plugins and automatically generates the documentation for the required dependencies and triggered events. This means that those dependencies are no longer required to be listed in the docstring of the class itself. Also in this commit: - Black/LINT for some integrations that hadn't been touched in a long time. - Deleted some leftovers from previous refactors (deprecated `backend.mqtt`, `backend.zwave.mqtt`, `backend.http.request.rss`). - Deleted deprecated `inotify` backend - replaced by `file.monitor` (see #289). Closes: #311, #318
blacklight added 1 commit 2023-09-24 17:02:16 +02:00
[#311] Docs deps autogen sphinx plugin.
All checks were successful
continuous-integration/drone/push Build is passing
c3337ccc6c
Added an `add_dependencies` plugin to the Sphinx build process that
parses the manifest files of the scanned backends and plugins and
automatically generates the documentation for the required dependencies
and triggered events.

This means that those dependencies are no longer required to be listed
in the docstring of the class itself.

Also in this commit:

- Black/LINT for some integrations that hadn't been touched in a long
  time.

- Deleted some leftovers from previous refactors (deprecated
  `backend.mqtt`, `backend.zwave.mqtt`, `backend.http.request.rss`).

- Deleted deprecated `inotify` backend - replaced by `file.monitor` (see
  #289).
blacklight added 1 commit 2023-09-26 23:50:51 +02:00
Moved BluetoothPlugin to __init__.py.
All checks were successful
continuous-integration/drone/push Build is passing
9298f52443
This is for consistency with other plugins, that all have their main
plugin class definition inside of `__init__.py`.
blacklight added 3 commits 2023-09-30 02:29:02 +02:00
New IntegrationMetadata generic util class.
All checks were successful
continuous-integration/drone/push Build is passing
343972b520
This object is in charge of parsing all the metadata of a
plugin/backend.
blacklight merged commit e6f05dfe07 into master 2023-09-30 02:31:43 +02:00
Sign in to join this conversation.
No description provided.