Skip to content

ci(docs): replace Sphinx workflows with ProperDocs deploy - #352

Merged
skylarmb merged 1 commit into
federated-sdk-release-candidatefrom
ci/properdocs-deploy
May 1, 2026
Merged

skylarmb merged 1 commit into
federated-sdk-release-candidatefrom
ci/properdocs-deploy

Conversation

@skylarmb

@skylarmb skylarmb commented May 1, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Replace the Sphinx-shaped docs CI with a minimal ProperDocs/MkDocs Pages-deploy workflow that mirrors make docs-build. The SDK now ships an auto-generated reference site driven by docs/gen_ref_pages.py + properdocs.yml (landed in v1.0.0rc22, #351), and the existing Sphinx workflows would have failed on first run because their inputs (docs/conf.py, the Divio tutorials/how-to/reference tree) no longer exist.

Details

  • New docs-deploy.yml: builds with uv run --extra docs properdocs build and ships site/ via actions/upload-pages-artifact@v4 + actions/deploy-pages@v4. Triggers on push to federated-sdk-release-candidate with path filters covering src/honeyhive/** (docstring changes are doc changes), plus workflow_dispatch for manual smoke tests.
  • Removed docs-preview.yml, docs-validation.yml, docs-versioned.yml — all Sphinx-shaped (artifact build of _build/html, live-URL nav check hard-coded to Sphinx pages, mike-based versioning we're not shipping day one).
  • Kept sync-changelog-to-docs.yml untouched — independent of this Pages site.
  • --strict left off properdocs build to match the Makefile (pre-existing griffe warnings tracked as a follow-up); re-add once those are cleaned.
  • Site lands at https://honeyhiveai.github.io/python-sdk/

@skylarmb
skylarmb force-pushed the ci/properdocs-deploy branch from 1261cc2 to 2258db1 Compare May 1, 2026 22:46
@skylarmb
skylarmb marked this pull request as ready for review May 1, 2026 22:48
@skylarmb
skylarmb requested a review from a team May 1, 2026 22:48
The SDK ships an auto-generated ProperDocs/MkDocs reference site driven
by docs/gen_ref_pages.py + properdocs.yml (landed in release v1.0.0rc22).
The existing Sphinx-shaped CI in this repo would have failed on first run
because the inputs it depends on (docs/conf.py, the Divio tutorials/how-to/
reference/explanation tree, the Sphinx Makefile) no longer exist.

This change replaces docs-deploy.yml with a minimal Pages-deploy workflow
that mirrors `make docs-build` (uv run --extra docs properdocs build) and
ships the resulting site/ directory through actions/upload-pages-artifact
+ actions/deploy-pages@v4.

Removed:
- docs-preview.yml: Sphinx-only PR artifact upload; can be reintroduced
  later as an MkDocs-based PR preview if useful.
- docs-validation.yml: post-deploy live-URL nav check that hard-codes
  Sphinx-named pages (tutorials/index.html, etc.) which no longer exist.
- docs-versioned.yml: mike-based versioned docs; not shipping versioning
  day one. Mike works fine with MkDocs if/when we want it back.

Kept untouched:
- sync-changelog-to-docs.yml: independent of the Pages site this workflow
  deploys.

--strict is intentionally OFF on properdocs build to match the Makefile
(pre-existing griffe warnings); re-add once those are cleaned.

✨ Created with Claude Code
@skylarmb
skylarmb force-pushed the ci/properdocs-deploy branch from 2258db1 to 770adc0 Compare May 1, 2026 22:57
@skylarmb
skylarmb enabled auto-merge (squash) May 1, 2026 22:57
@skylarmb
skylarmb merged commit 03a7078 into federated-sdk-release-candidate May 1, 2026
1 check passed
@edward-hhai
edward-hhai deleted the ci/properdocs-deploy branch July 27, 2026 17:43
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