Skip to content

docs: rewrite docs/api plot.rst for the functional API; drop dead data.rst entries - #124

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/cti-api-rst-rewrite
Nov 6, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/cti-api-rst-rewrite

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

PyAutoCTI's published docs/api/ had 53 of 84 autosummary entries pointing to symbols that don't exist. plot.rst was an unadapted copy of the Lens/Galaxy class-based plot template (48 Plotter/MatPlot/Include/Visuals classes CTI never had). It is rewritten for the real functional autocti.plot API, in the style of PyAutoFit's plot.rst. data.rst loses 5 entries that autocti never exports. Closes #123 (cti-upkeep phase 5c).

API Changes

None. Documentation only, no code changes.

Test Plan

  • Import + hasattr audit of every autosummary entry: 84 entries / 53 dead → 64 / 0
  • Local sphinx-build -b html docs (docs/requirements.txt + PyAuto313): main 159 warnings (53 on api/) → branch 53 warnings (0 on api/); the 53 left are pre-existing and outside api/
  • Built pages checked: autocti.plot.subplot_fit_ci, PlotterImagingCI and the other function and class pages render
  • test_autocti: 279 passed (serial)
Full API Changes (for automation & release notes)

Docs pages

  • docs/api/plot.rst: rewritten. Sections: Dataset 1D (dataset and fit), Charge Injection Imaging (dataset and fit), General Plot Functions, Non-linear Search Plots (re-exported from autofit), Figure Output, Visualization During a Fit (PlotterDataset1D, PlotterImagingCI). Every entry is an autocti.plot export.
  • docs/api/data.rst: removed Grid2D, Grid2DIrregular and Grid1D (not used or re-exported by autocti; documented by autoarray) and the grid wording; LayoutDataset1D → Layout1D; removed SettingsDataset1D (doesn't exist).

No code symbols changed.

Related: PyAutoHeart PR (adds PyAutoCTI to /audit_docs) on branch feature/cti-api-rst-rewrite.

Separately noticed, not changed here: docs/requirements.txt pins autonerves==2024.11.6.1, and conf.py clones PyAutoFit/PyAutoArray from the old rhayes777/Jammy2211 URLs. Both are RTD-build concerns that belong with the phase 3c docs.yml work.

Tier: glance. Merge mode: auto-merge on green if the Witness passes. Heart was STALE at ship time ("release validation stale: source moved since rehearsal (PyAutoNerves)"); the human acknowledged it.

🤖 Generated with Claude Code

…d data.rst entries

plot.rst was an unadapted copy of the Lens/Galaxy class-based template: 48 of its
entries (Plotter/MatPlot/Include/Visuals classes) never existed in autocti. It now
documents the real autocti.plot exports in the functional style of PyAutoFit's
plot.rst. data.rst: Grid2D/Grid2DIrregular/Grid1D removed (not used or re-exported
by autocti), LayoutDataset1D -> Layout1D, SettingsDataset1D dropped (does not exist).

Audit: 84 entries / 53 dead -> 64 / 0. sphinx-build: 159 warnings (53 on api/) -> 53 (0 on api/).

Closes #123

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.

docs: rewrite docs/api — 53 of 84 autosummary entries are dead (cti-upkeep 5c)

1 participant