Skip to content

Publish docs to GitHub Pages; fix broken readthedocs link - #34

Merged
fboundy merged 1 commit into
mainfrom
patch
Jul 4, 2026
Merged

fboundy merged 1 commit into
mainfrom
patch

Conversation

@fboundy

@fboundy fboundy commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes #33 — the README's "Documentation" link (solisconnect.readthedocs.io) returns 404. The project was rebranded from solis_modbus, and an RTD project under the new name was never created (readthedocs.org/api/v3/projects/solisconnect/ → "No Project matches the given query").

Rather than depend on an external RTD dashboard import (which I can't do from the repo), this builds the existing Sphinx docs (docs/source, already configured) and deploys them to GitHub Pages:

  • New .github/workflows/docs.yaml: build with Sphinx → upload-pages-artifact → deploy-pages, on pushes to main touching docs/**/README.md/the workflow, plus manual dispatch.
  • GitHub Pages enabled with the Actions build source (html_url: https://fboundy.github.io/solisconnect/).
  • README repointed: the main Documentation link and the Waveshare sensors.html#waveshare deep-link (verified the #waveshare anchor exists in the built output).
  • .readthedocs.yaml left in place, so RTD still works if the project is later imported.

Verification

  • Sphinx build produces HTML for all pages (index, protocols, tou, migration, sensors, table-of-contents). The 5 build warnings (README image path when included from docs/source, duplicate autosection labels, sensors.md in two toctrees) are pre-existing content-hygiene items, non-fatal in a normal build (matching RTD's default lenient build) — out of scope for this link fix.
  • The Pages workflow runs on merge to main; the site will publish at https://fboundy.github.io/solisconnect/.

Fixes #33

The README linked to solisconnect.readthedocs.io, which 404s - the
project was rebranded from solis_modbus and an RTD project under the
new name was never created. Rather than depend on an external RTD
dashboard import, build the existing Sphinx docs and deploy them to
GitHub Pages via a workflow, and repoint the README (main link plus
the Waveshare sensors deep-link) at https://fboundy.github.io/solisconnect/.

The .readthedocs.yaml is left in place so RTD still works if the
project is later imported.

Fixes #33
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Failed to generate code suggestions for PR

@fboundy
fboundy merged commit 4a422b1 into main Jul 4, 2026
6 checks passed
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.

Documentation link (readthedocs.io) is broken — returns 404

1 participant