Skip to content

docs: add Sphinx documentation site#41

Merged
begeistert merged 2 commits into
masterfrom
docs/sphinx-site
Jun 6, 2026
Merged

docs: add Sphinx documentation site#41
begeistert merged 2 commits into
masterfrom
docs/sphinx-site

Conversation

@begeistert
Copy link
Copy Markdown
Collaborator

Description

Scaffolds a Sphinx + MyST documentation site for RP2040Sharp, matching the PyMCU docs
styling so it can be published on the shared docs.pymcu.org site.

  • Theme/stack: pydata-sphinx-theme + MyST (Markdown) + sphinx-design + copybutton —
    same as the PyMCU docs.
  • Sections: Getting Started (install, quickstart), Guides (TestKit, CI validation, GDB
    debugging), Peripherals (coverage table), Compatibility (MicroPython/CircuitPython/bare-metal),
    Reference (key types).
  • conf.py: sets html_baseurl for the /rp2040sharp sub-path and adds an icon link
    back to docs.pymcu.org.
  • docs.yml: builds with sphinx-build -W (warnings = errors) on changes to docs/**
    and deploys to Cloudflare Pages (project rp2040sharp-docs), mirroring the PyMCU pipeline.

Builds clean locally with sphinx-build -W.

ℹ️ Deploy needs the CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID secrets in this repo
(same as the PyMCU docs repo) and a rp2040sharp-docs Cloudflare Pages project. See the PR
discussion for the sub-path vs sub-domain routing options.

Type of change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • ✨ New feature (non-breaking change which adds functionality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 🧹 Refactoring (no functional changes, just code cleanup)

Checklist

  • 🧪 Tests passed locally (dotnet test)
  • ✅ Added new tests for this feature/fix
  • 📝 Documentation updated (if applicable)
  • 🚫 No "Magic Strings" or hardcoded values
  • 💾 Validated against the RP2040 Datasheet (if applicable)

Scaffold a Sphinx + MyST docs site matching the PyMCU docs styling
(pydata-sphinx-theme, sphinx-design, copybutton), ready to publish on the shared
docs.pymcu.org site.

- Sections: getting-started, guides (testkit, ci-validation, gdb-debugging),
  peripherals, compat, reference.
- conf.py sets html_baseurl for the /rp2040sharp sub-path and links back to docs.pymcu.org.
- docs.yml builds with sphinx-build -W and deploys to Cloudflare Pages
  (project rp2040sharp-docs), mirroring the PyMCU pipeline.

Builds clean with `sphinx-build -W`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@begeistert begeistert requested a review from lmSeryi as a code owner June 6, 2026 22:09
…he docs

The docs site is built and deployed by Cloudflare Pages' Git integration
(build: sphinx-build, output: docs/_build/html), not by Actions.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@begeistert begeistert merged commit 423d1ca into master Jun 6, 2026
4 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.

1 participant