Skip to content

Add a Sphinx documentation site (GitHub Pages)#107

Merged
kwabenantim merged 1 commit into
developfrom
docs-site
Jul 24, 2026
Merged

Add a Sphinx documentation site (GitHub Pages)#107
kwabenantim merged 1 commit into
developfrom
docs-site

Conversation

@kwabenantim

Copy link
Copy Markdown
Member

Fixes #106

Build out the previously-empty doc/ Sphinx setup into a full site and slim the README to a quickstart that links to it. Configuration was only documented in the README tips and example configs; this adds a dedicated, searchable Configuration Reference.

  • doc/: index, getting-started, configuration (new option reference), custom-generators, tips, and an autodoc API page; Markdown via MyST, RTD theme, autodoc from the source docstrings.
  • conf.py: MyST + napoleon, .md sources, version single-sourced from the installed package metadata (falls back to pyproject.toml).
  • Fix docstring RST markup so the autodoc build is clean under -W.
  • README: trimmed to install + quick start + links to the site.
  • pyproject: add myst-parser to the docs extra.
  • .github/workflows/docs.yml: build on push/PR, deploy to GitHub Pages on develop.

@kwabenantim
kwabenantim marked this pull request as ready for review July 24, 2026 21:03
@kwabenantim
kwabenantim requested a review from Copilot July 24, 2026 21:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a full Sphinx documentation site under doc/ (Markdown via MyST, API autodoc, RTD theme) and updates CI to build/deploy it to GitHub Pages, while trimming the README down to a quickstart that links to the published site.

Changes:

  • Build out Sphinx docs content (getting started, configuration reference, custom generators, tips, API autodoc) and update doc/conf.py accordingly.
  • Update docstrings in several modules to render cleanly under Sphinx autodoc.
  • Add a docs GitHub Actions workflow and update packaging extras for docs dependencies; slim README.md to point users at the site.

Reviewed changes

Copilot reviewed 15 out of 15 changed files in this pull request and generated 8 comments.

Show a summary per file
File Description
README.md Replaces long README walkthrough with quickstart + links to the published docs.
pyproject.toml Adds myst-parser to the docs extra.
doc/tips.md New “Tips & recipes” docs page.
doc/index.rst Removes the old quickstart-generated index stub (switching to Markdown).
doc/index.md New docs landing page and toctree.
doc/getting-started.md New installation/CLI/worked-example page.
doc/custom-generators.md New guide for custom generators and hooks.
doc/configuration.md New configuration reference with option tables and explanations.
doc/conf.py Sphinx config updates for MyST, napoleon, theme, and version sourcing.
doc/api.rst New autodoc-driven API reference page.
cppwg/writers/module_writer.py Docstring formatting tweaks for clean autodoc output.
cppwg/writers/method_writer.py Docstring formatting tweaks for clean autodoc output.
cppwg/writers/class_writer.py Docstring formatting tweaks for clean autodoc output.
cppwg/info/package_info.py Docstring formatting tweaks for clean autodoc output.
.github/workflows/docs.yml New workflow to build docs on PRs/pushes and deploy to Pages from develop.

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

Comment thread doc/index.md
Comment thread doc/index.md
Comment thread doc/getting-started.md
Comment thread doc/custom-generators.md
Comment thread doc/tips.md
Comment thread doc/configuration.md
Comment thread doc/conf.py Outdated
Comment thread pyproject.toml
Build out the previously-empty doc/ Sphinx setup into a full site and slim
the README to a quickstart that links to it. Configuration was only
documented in the README tips and example configs; this adds a dedicated,
searchable Configuration Reference.

- doc/: index, getting-started, configuration (new option reference),
  custom-generators, tips, and an autodoc API page; Markdown via MyST, RTD
  theme, autodoc from the source docstrings.
- conf.py: MyST + napoleon, .md sources, version single-sourced from the
  installed package metadata (regex fallback over pyproject.toml for a bare
  checkout, avoiding tomllib which is 3.11+ only).
- Fix docstring RST markup so the autodoc build is clean under -W.
- README: trimmed to install + quick start + links to the site.
- pyproject: add myst-parser to the docs extra.
- .github/workflows/docs.yml: build on push/PR, deploy to GitHub Pages on
  develop.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@kwabenantim
kwabenantim merged commit 51c62ba into develop Jul 24, 2026
15 checks passed
@kwabenantim
kwabenantim deleted the docs-site branch July 24, 2026 21:30
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.

Resurrect Docs

2 participants