Skip to content

docs: Sphinx + ReadTheDocs site and reorganized documentation#13

Merged
edkerk merged 1 commit into
developfrom
feature/readthedocs-docs
May 30, 2026
Merged

docs: Sphinx + ReadTheDocs site and reorganized documentation#13
edkerk merged 1 commit into
developfrom
feature/readthedocs-docs

Conversation

@edkerk
Copy link
Copy Markdown
Member

@edkerk edkerk commented May 30, 2026

Sets up a Sphinx + MyST documentation site wired for ReadTheDocs, and reorganizes docs/ into a navigable, sectioned tree.

Organization (Diátaxis-style)

All existing docs were preserved (via git mv) and grouped:

Section Contents
guide/ Quickstart + 7 task-oriented how-tos (one per capability)
reference/ Migration map, back-port proposals, improvements, known-issues, todo, + autogenerated API
reference/api/ One automodule page per subpackage (honors each __all__)
studies/ The 5 validation / calibration studies
maintenance/ Data-bundle formats & release procedures
archive/ Design notes (unchanged)

Toolchain

  • .readthedocs.yaml + docs/conf.py: furo theme, MyST-Parser, autodoc + napoleon (NumPy docstrings), intersphinx (cobra/numpy/pandas/scipy), viewcode, copybutton.
  • docs/requirements.txt; landing page + master toctree in docs/index.md.
  • CHANGELOG.md / IMPROVEMENTS.md are {include}-d into the site.

Link hygiene

The move + includes changed relative depth, so: intra-docs links were repointed to the new section paths; repo-file links (src/scripts/tests) and the included root files now use absolute GitHub URLs so they resolve on both GitHub and the RTD site; README/CHANGELOG/IMPROVEMENTS doc links were remapped.

Quality / CI

  • 8 small docstring formatting fixes (blank line before Parameters / bullet lists; literal block in binaries.py) so autodoc renders cleanly. ruff + imports still pass.
  • New docs CI job builds the site with -W --keep-going.
  • Verified locally: 0 warnings / 0 errors under sphinx-build -W.

Note: the README assumes the RTD slug https://raven-python.readthedocs.io — adjust if the project registers under a different name.

Reorganize docs/ into a Diátaxis-style tree (guide / reference / studies /
maintenance / archive) and add a Sphinx + MyST documentation site wired for
ReadTheDocs.

Site / toolchain:
* .readthedocs.yaml + docs/conf.py (furo, MyST-Parser, autodoc + napoleon for
  the NumPy-style docstrings, intersphinx to cobra/numpy/pandas/scipy).
* docs/requirements.txt; docs/index.md landing page + master toctree.
* Full API reference auto-generated from docstrings — one automodule page per
  subpackage, honoring each __all__.
* 7 task-oriented user-guide pages + quickstart; section index pages.
* CHANGELOG.md / IMPROVEMENTS.md are {include}-d into the site.

Link hygiene (the move + include changed relative depth):
* All intra-docs cross-links updated to the new section paths.
* Repo-file links (src/scripts/tests) and the included root files use absolute
  GitHub URLs so they resolve on both GitHub and the RTD site.
* README/CHANGELOG/IMPROVEMENTS doc links remapped to the new paths.

Quality / CI:
* Tiny docstring formatting fixes (blank line before Parameters / bullet lists,
  literal block in binaries.py) so autodoc renders cleanly. Build is
  warning-clean under `sphinx-build -W`.
* New `docs` CI job builds the site with `-W --keep-going`.
@edkerk edkerk force-pushed the feature/readthedocs-docs branch from bb269d6 to d1be3ca Compare May 30, 2026 20:12
@edkerk edkerk merged commit eee7b8e into develop May 30, 2026
5 checks passed
@edkerk edkerk deleted the feature/readthedocs-docs branch May 30, 2026 20:21
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