Skip to content

docs: add API reference pages for GridSpec and TimeAxis - #77

Merged
GondekNP merged 1 commit into
mainfrom
docs/gridspec-reference-page
Jul 28, 2026
Merged

docs: add API reference pages for GridSpec and TimeAxis#77
GondekNP merged 1 commit into
mainfrom
docs/gridspec-reference-page

Conversation

@GondekNP

Copy link
Copy Markdown
Contributor

Summary

GridSpec (and TimeAxis) were entirely absent from the API reference — docs/_quarto.yml's quartodoc sections and nav only ever listed cli.*/jobs.*/strategies.*/registry.*/cell_data.*/diagnostics.*/sweep.*/jar.*. The preprocessing tutorial narrates usage, but there was no reference page to land on for the actual method signatures — preprocess_geotiff/preprocess_netcdf/preprocess_csv, their _batch counterparts added in #75, or from_yaml/save/describe/variant_sweep/etc.

  • Adds a "Grid" nav section and "Grid Module" quartodoc section referencing grid.GridSpec and grid.TimeAxis.
  • No source changes — the docstrings already existed; this just wires them into the generated reference site.

Test plan

  • pixi run docs-build — renders reference/grid.GridSpec.qmd (all 13 public methods, including both preprocess_*_batch() methods) and reference/grid.TimeAxis.qmd
  • docs/objects.json interlink diff: 34 entries added (joshpy.grid.GridSpec, its methods, joshpy.grid.TimeAxis, plus their joshpy.grid._core.* internal aliases), 0 removed
  • pixi run -e dev pytest tests/ -m "not integration" -q — 1181 passed (no source touched)

🤖 Generated with Claude Code

GridSpec was entirely absent from the quartodoc reference nav --
docs/_quarto.yml's quartodoc sections and API Reference nav only ever
listed cli.*/jobs.*/strategies.*/registry.*/cell_data.*/diagnostics.*/
sweep.*/jar.*. The preprocessing tutorial (docs/tutorials/preprocessing.qmd)
is the only place GridSpec was documented at all, and it only narrates
usage -- there was no reference page a reader could land on for the
full method signatures (preprocess_geotiff/netcdf/csv, their _batch
counterparts, from_yaml/save/describe/variant_sweep/etc.) or for
TimeAxis.

Adds a "Grid" nav section / "Grid Module" quartodoc section
referencing grid.GridSpec and grid.TimeAxis, generating
reference/grid.GridSpec.qmd and reference/grid.TimeAxis.qmd with all
public methods and attributes documented from their existing
docstrings -- no source changes needed.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@GondekNP
GondekNP merged commit 02c5feb into main Jul 28, 2026
0 of 2 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