Skip to content

Improve documentation (v2)#1996

Merged
iMicknl merged 12 commits intov2/mainfrom
v2/docs_improvements
Apr 19, 2026
Merged

Improve documentation (v2)#1996
iMicknl merged 12 commits intov2/mainfrom
v2/docs_improvements

Conversation

@iMicknl
Copy link
Copy Markdown
Owner

@iMicknl iMicknl commented Apr 19, 2026

No description provided.

iMicknl added 12 commits April 19, 2026 14:19
The Cozytouch cloud tab used Server.SOMFY_EUROPE instead of
Server.ATLANTIC_COZYTOUCH, contradicting the surrounding text.
- Add missing Command import in cloud example
- Replace blocking time.sleep with await asyncio.sleep in both examples
- Replace nonexistent device.id with device.device_url
- Fix typo "succesfull" -> "successful"
The project uses prek as its pre-commit runner, not pre-commit directly.
These were commented out in the docs but listed in the README. Both
servers exist in the codebase, so include them with a caveat about
unsupported authentication.
Allows importing OverkizClient, Action, Command, Device, Event,
Gateway, Setup, and State directly from pyoverkiz instead of
requiring knowledge of internal submodule paths.
Add missing OverkizCommandParam import used in the action groups
example and close the code fence before the Limitations section.
A getting-started example should show the happy path, not a
catch-all that swallows errors and exits silently.
Both pages covered SSL, rate limits, and auth failures. Merge
all content into troubleshooting.md and remove error-handling.md.
The docs said 3.10+ but pyproject.toml requires >=3.12.
The docs workflow used 3.11 which is below the 3.12 minimum. Also
bumped setup-python to v6 in the docs workflow and pinned the
release workflow from 3.x to 3.12 for consistency.
Copilot AI review requested due to automatic review settings April 19, 2026 14:41
@iMicknl iMicknl requested a review from tetienne as a code owner April 19, 2026 14:41
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the project’s documentation and CI configuration to reflect the current library behavior and minimum supported Python version, while consolidating troubleshooting/error guidance.

Changes:

  • Consolidates the removed error-handling.md content into docs/troubleshooting.md and updates MkDocs navigation accordingly.
  • Updates docs/README examples and contributor guidance to Python 3.12+, plus small example fixes (async sleep, device_url, code fences).
  • Pins GitHub Actions docs/release workflows to Python 3.12 and updates actions/setup-python to v6 where applicable.

Reviewed changes

Copilot reviewed 11 out of 11 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
mkdocs.yml Removes the nav entry for the deleted error-handling page.
docs/troubleshooting.md Expands troubleshooting with retry guidance, common errors, SSL notes, and timeouts.
docs/index.md Updates “Supported hubs” list and adds a footnote about auth support.
docs/getting-started.md Updates minimum Python version and adjusts a server example.
docs/event-handling.md Removes redundant example section to simplify the page.
docs/error-handling.md Deletes the standalone error handling page (content moved elsewhere).
docs/device-control.md Fixes/extends command parameter example and closes a code fence.
docs/contribute.md Updates contributor guidelines to Python 3.12+.
README.md Updates examples to be fully async, uses device_url, fixes spelling, and switches dev hook instructions to prek.
.github/workflows/release.yml Pins release workflow runtime to Python 3.12.
.github/workflows/docs.yml Updates setup-python action to v6 and pins docs build to Python 3.12.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread docs/index.md
Comment thread docs/troubleshooting.md
@iMicknl iMicknl merged commit ed1eb8f into v2/main Apr 19, 2026
13 checks passed
@iMicknl iMicknl deleted the v2/docs_improvements branch April 19, 2026 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants