Skip to content

docs: clarify API reference guidance - #849

Merged
Jammy2211 merged 1 commit into
mainfrom
feature/api-reference-polish
Nov 12, 2026
Merged

Jammy2211 merged 1 commit into
mainfrom
feature/api-reference-polish

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Correct outdated Pixelization construction and plotting-option guidance, and clarify galaxies, collections, ray tracing, external mass fields and fitted redshifts. Apply the human-reviewed drafts to three API category pages while retaining scientific detail, all 56 indexed API entries and existing page URLs and section anchors.

Part of #846. The paired PyAutoGalaxy PR covers the corresponding pages. No changes to Installation, Overview, General, Tutorials or source docstrings.

API Changes

None — documentation only. No symbols, signatures, defaults or runtime behavior change; no workspace migration is required.

Test Plan

  • Full original and updated Sphinx HTML builds completed with the real repository configuration and autodoc.
  • Compared all diagnostics: 97 in the original and 97 in the updated build, with no new or resolved diagnostics.
  • Preserved all 15 original rendered section anchors and all existing outgoing API-reference links.
  • Checked 83 local links and fragments across the three updated pages; none broken.
  • Executed the Python examples against worktree imports (10 blocks across the paired changes), using Agg plotting and a supplied Array2D; no model fits run.
  • Verified exact three-file scope, git diff --check, and that the proposed files match the validated build inputs.

Existing documentation warnings

The strict builds used sphinx-build -W --keep-going and exited 1 for both original and updated documentation because of the same 97 pre-existing diagnostics. These are not clean warning-as-error builds. Existing problems include malformed inherited docstrings and duplicate object descriptions. The change introduces no diagnostics, and none were suppressed. Source-docstring repairs are outside this PR's scope.

Full API Changes (for automation & release notes)

Removed / Added / Renamed

None.

Changed Signature / Changed Behaviour

None.

Migration

None. Existing documentation URLs, anchors and API-reference destinations are retained.

Generated by the PyAutoLabs agent workflow. Human requested PR creation only; do not merge.

Development-only Heart RED override

Human authorization for #846:

Yes, authorize the development-only Heart RED override for #846. Commit, push and open both PRs, noting the existing documentation warnings. Don't merge yet.

Heart snapshot: 2026-11-12T19:30:21.264922+00:00; verdict RED.

  • PyAutoNerves: 2 commit(s) behind origin
  • PyAutoArray: 2 commit(s) behind origin
  • PyAutoGalaxy: 10 commit(s) behind origin
  • PyAutoLens: on branch feature/last-imaging-features-review (not main)
  • PyAutoLens: 3 uncommitted source change(s)
  • PyAutoCTI: 2 commit(s) behind origin
  • install verification FAILED (testpypi; checks F)
  • release validation FAILED (stage integrate)

Validation: All 97 API entries and 29 original section anchors retained; 150 local links/fragments pass; 10 Python example blocks execute; exact six-file scope and git diff --check pass; human review approved. Full Sphinx renders: Lens 97 and Galaxy 69 diagnostics, identical to baseline; strict -W builds remain nonzero for existing diagnostics. No runtime changes; numerical suites and workspace science runs are not applicable to this documentation-only scope.

Commit, push and PR creation only. No merge, release, CI bypass or claim that this change repairs Heart.

Apply reviewed Pixelizations, Plotting and Galaxy reference drafts.
Preserve existing URLs, section anchors and API entries.

Agent: Codex; model: GPT-6
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label Nov 12, 2026 — with ChatGPT Codex Connector
@Jammy2211
Jammy2211 merged commit 64e5f8a into main Nov 12, 2026
4 checks passed
@Jammy2211
Jammy2211 deleted the feature/api-reference-polish branch November 12, 2026 19:40
@pyautolabs-bot pyautolabs-bot Bot removed the pending-release PR queued for the next release build label Nov 13, 2026
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