Skip to content

README and docs are out of sync with current APIs #1016

Open

Description

@hCoureau

I was checking the supported-device information and noticed the README still points to the old Read the Docs page. Looking through the rest of the docs, I found a few other things that seem to have fallen behind the code.

I'd like to help tidy these up, but wanted to check the approach here before opening PRs.

What I found

Checked against 7.15.2:

  • The supported-devices link points to the previous documentation site, whose source was removed from the repo.
  • The README and device docs still use a01_properties; the current accessors are dyad and zeo. B01 Q7/Q10 support is also missing from the README overview.
  • The examples don't close the device manager.
  • Some fixture names and paths in the contributor guide don't match the current tests.
  • The architecture docs have outdated discovery diagrams, API examples and module paths.
  • The feature table needs regenerating, but there's also a generator issue: update_docs() passes product nicknames as strings where the feature decoder expects enum members. I reproduced different capability results when using the enum, so simply regenerating the table wouldn't fix everything.
  • The RPC contents list misses sections already on the page, and the documentation build configuration still has references to the old setup.

Suggested approach

I'd split this into three PRs:

  1. README and user guidance: fix the links, API names, examples and contributor instructions, and add a maintained device-compatibility page. That page should distinguish known models from captured capabilities and tested functionality.
  2. Feature table generation: fix the nickname handling, add regression coverage and regenerate the table.
  3. Developer docs: bring the architecture and reference pages up to date, fix navigation and clean up the publishing configuration.

I built the docs locally and checked the generator offline. I haven't made implementation changes or run the full test suite yet; the PRs would follow the contributor guide's checks.

Does that split make sense? Also, would you prefer the compatibility guide as a top-level Markdown page or in the generated docs? Happy to adjust the scope to fit what's already planned.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions