docs: API reference for cellpy.batch and cellpy.collect (G2, #719) - #756
Merged
Conversation
The 2.1 batch/collect redesign lived in `cellpy.batch` / `cellpy.collect` but the API reference only documented the `cellpy.utils.*` re-export shims. - new `docs/api/batch.md` (`cellpy.batch` + facade / journal / aggregate) and `docs/api/collect.md` (`cellpy.collect` + summary / curves / ica / collection), wired into the Zensical nav and the "Where to look" table. - `utils.md`: relabel the batch/collectors sections as shims that re-export the new packages, pointing at the new pages. Docstring-generated (mkdocstrings), so it tracks the code. Verified with the CI docs build (`zensical build --clean`): **No issues found**, 0 warnings — all referenced modules resolve and links are intact. Closes #719. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
Bugbot is not enabled for your account, so this pull request was not reviewed. Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs. |
jepegit
enabled auto-merge (squash)
July 27, 2026 21:59
2 tasks
jepegit
added a commit
that referenced
this pull request
Jul 28, 2026
…able mkdocstrings cannot collect modules that are absent from the docs branch. Bring the package trees from master so the #756 API pages build. Co-authored-by: Cursor <cursoragent@cursor.com>
jepegit
added a commit
that referenced
this pull request
Jul 28, 2026
* docs: add 2.0->2.1 migration guide + release notes (G3, #720) (#755) The capstone doc for cellpy 2.1 (Stage 4), describing what shipped now that Epics A-E have all landed. - new `docs/getting_started/migration_v2.0_to_2.1.md`: every Epic E removal with old->new mappings (headers->schema, ICA shims, plotting knobs + dropped seaborn/bokeh backends, batch_tools->cellpy.batch/collect, prms.*->cellpy.config with c.mass kept), the batch symbol map + iterate_batches/process_batch recipes, and the collectors cross-cell cycle-narrowing bug-fix before/after. - wire it into the Zensical nav ("Coming from cellpy 2.0") and cross-link it from the 1.x->2.x guide. - HISTORY.md: a 2.1 (Stage 4) release-notes block under Unreleased. All cited APIs verified against the code (CellpyCell.vacant, summary_plot backend=/x_range=, cellpy.collect.collect_*, cellpy.batch load/from_db/ from_journal/combine_summaries, cellpy.config.override). Closes #720. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> (cherry picked from commit 53fc2d4) * docs: API reference for cellpy.batch and cellpy.collect (G2, #719) (#756) The 2.1 batch/collect redesign lived in `cellpy.batch` / `cellpy.collect` but the API reference only documented the `cellpy.utils.*` re-export shims. - new `docs/api/batch.md` (`cellpy.batch` + facade / journal / aggregate) and `docs/api/collect.md` (`cellpy.collect` + summary / curves / ica / collection), wired into the Zensical nav and the "Where to look" table. - `utils.md`: relabel the batch/collectors sections as shims that re-export the new packages, pointing at the new pages. Docstring-generated (mkdocstrings), so it tracks the code. Verified with the CI docs build (`zensical build --clean`): **No issues found**, 0 warnings — all referenced modules resolve and links are intact. Closes #719. Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> (cherry picked from commit b6119e2) * docs: ship cellpy.batch/collect sources for API autodoc on v2-docs-stable mkdocstrings cannot collect modules that are absent from the docs branch. Bring the package trees from master so the #756 API pages build. Co-authored-by: Cursor <cursoragent@cursor.com> --------- Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com> Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The API-reference slice of Epic G. Closes #719.
Gap
The 2.1 batch/collect redesign lives in
cellpy.batch/cellpy.collect, butdocs/api/only documented thecellpy.utils.*re-export shims — the new primary surfaces had no reference pages.What
docs/api/batch.md—cellpy.batch(entry points) +facade/journal/aggregate.docs/api/collect.md—cellpy.collect(collectors) +summary/curves/ica/collection.utils.md: relabel the batch/collectors sections as shims that re-export the new packages, with pointers.The pages are docstring-generated (mkdocstrings), so they track the code. Schema (
cellpy.parameters.cell_schema) and ICA/plotting were already covered; no dead references remain indocs/api/.Verification
Ran the CI docs build locally —
uvx --with mkdocstrings-python zensical build --clean: "No issues found", 0 warnings. All referenced modules resolve and links are intact.Closes #719.
🤖 Generated with Claude Code