Skip to content

docs: refresh six Lens and Galaxy API reference pages #846

Closed

Description

@Jammy2211

Overview

Apply the six human-reviewed API Reference drafts for PyAutoLens and PyAutoGalaxy. Preserve existing URLs, anchors and all 97 indexed API entries while improving Pixelizations, Plotting and Galaxy/Tracer guidance.

Plan

  • Create isolated worktrees from current origin/main.
  • Apply the approved six drafts, resolving only link/anchor compatibility and build issues.
  • Build documentation, compare baseline anchors and API destinations, and record validation.
  • Stop with local changes; no PR, merge or release.

Tier: judge — merge mode: human /prm. This invocation authorizes application and checks only.

Detailed implementation plan

Affected Repositories

  • PyAutoLens (primary)
  • PyAutoGalaxy

Branch Survey

PyAutoLens: main, unrelated paper_jax/paper.md modification; PyAutoGalaxy: main, clean. Both canonical checkouts lag origin/main; new isolated worktrees use freshly fetched origin/main. Conflict guard reports no active claimed conflict; other documentation worktrees cover distinct sections.

Suggested branch: feature/api-reference-polish

Key Files and Steps

Apply docs/api/pixelization.rst, docs/api/plot.rst and docs/api/galaxy.rst in both repositories from approved previews_v1. Retain scientific distinctions, existing generated reference destinations, lower-level entries and method documentation. Compare old/new Sphinx-rendered anchors and add compatibility labels when needed. Run the available full documentation builds and focused warning-as-error builds; distinguish existing build failures from regressions. Save results and rendered pages under Science/scratch/api_rtd_review_20261112/applied. Do not alter source docstrings, Installation, Overview, General or Tutorials.

Original Prompt

Looks good, apply these six drafts to the PyAutoLens and PyAutoGalaxy RTD, preserving existing links and anchors. Check the documentation builds, but don't raise PRs yet.

Activity

  1. Jammy2211 commented on Nov 12, 2026

    @Jammy2211
    CollaboratorAuthor

    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.

  2. Jammy2211 commented on Nov 12, 2026

    @Jammy2211
    CollaboratorAuthor

    Opened both documentation PRs under the recorded development-only Heart RED override:

    Both are labelled pending-release and remain unmerged. Each PR explicitly reports the unchanged strict Sphinx baseline (Lens 97, Galaxy 69 diagnostics), no new diagnostics, and the passing anchor/link/example/scope checks. Documentation only; no workspace migration required. Stopping at PR-open as requested; no merge, release or CI bypass.

  3. Jammy2211 commented on Nov 12, 2026

    @Jammy2211
    CollaboratorAuthor

    Shipped and merged on the user's explicit instruction after review and all CI jobs passed.

    Each exact head had two successful workflow runs and four successful jobs (Docs, Python 3.12, Python 3.13, no-JAX). Both were CLEAN, freeze clear, no review requests or actionable diff findings. Local validation retained all 97 API entries and 29 section anchors; 150 links and 10 example blocks passed. Existing strict-build diagnostics remain unchanged (Lens 97; Galaxy 69) and are documented in both PRs. No runtime API or workspace migration. No release performed; pending-release obligations remain.

    Completing Mind lifecycle/dashboard and local task-worktree cleanup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions