Skip to content

docs: refresh General guides and scientific references #847

Closed

Description

@Jammy2211

Overview

Refresh the General documentation for PyAutoLens and PyAutoGalaxy, plus the external likelihood index, following the human-reviewed drafts. Preserve scientific material and existing URLs while correcting examples, references and moved workspace paths.

Plan

  • Apply the reviewed General pages and bibliographies consistently across both libraries.
  • Update the likelihood README to the current 37 notebook targets.
  • Execute affected examples, build Sphinx and check links and protected-file scope.
  • Commit and push feature/general-docs-refresh, then open three PRs. No merge or release.
Detailed implementation plan

Affected repositories: PyAutoLabs/PyAutoLens (primary), PyAutoLabs/PyAutoGalaxy and Jammy2211/autolens_likelihood_function. All work is on feature/general-docs-refresh in isolated local worktrees.

Key files: docs/general/*.md, Lens docs/general/images/model_cookbook/prior_custom.png, both files/citations.bib, Galaxy docs/index.md (General Papers entry only), and the likelihood repository README.md.

Implementation and validation are complete and human reviewed. Installation, Overview, Tutorials and Community remain unchanged. The next step is authorized development shipping.

Heart RED development override

The live user replied “I authroize” to the explicit request to authorize a development-only Heart RED override for general-docs-refresh, allowing commits, pushes and all three PRs, with no merge or release.

Heart remains RED. Exact reasons from the shipping check (2026-11-12T19:18:57.468827+00:00):

  • PyAutoNerves: 2 commit(s) behind origin
  • PyAutoArray: 2 commit(s) behind origin
  • PyAutoGalaxy: on branch feature/general-docs-refresh (not main)
  • PyAutoGalaxy: 9 uncommitted source change(s)
  • PyAutoGalaxy: 4 commit(s) behind origin
  • PyAutoLens: on branch feature/general-docs-refresh (not main)
  • PyAutoLens: 9 uncommitted source change(s)
  • PyAutoLens: 6 commit(s) behind origin
  • PyAutoCTI: 2 commit(s) behind origin
  • install verification FAILED (testpypi; checks F)
  • release validation FAILED (stage integrate)

Passed branch gates: 39 executed Python example blocks; full Sphinx builds with no warning regression; zero-warning strict General builds; 821 local links/fragments and 83 workspace targets; 101 protected files unchanged; whitespace checks; human editorial review. Numerical library suites and production sampling are not applicable to the documentation-only diff and were not rerun. No runtime API or workspace-script migration.

This authorization permits development shipping only. Do not merge, enable auto-merge, release, or bypass CI.

Original task record

Approved task and scope

General documentation refresh

Consequence: undeclared — human review; local application only, no PRs.

Request

Review the General sections of the PyAutoLens and PyAutoGalaxy Read the Docs sites.

Use the recently merged New User Guides as the editorial reference:
PyAutoLens PR #839 and PyAutoGalaxy PR #705.

Aim for short introductions, plain headings, practical examples and clear next steps. Remove repeated explanations, promotional language and excessive AI framing. AI assistance should be optional and briefly introduced, with a useful prompt where appropriate.

Preserve scientific explanations, equations and examples that readers need. Do not shorten technical material merely to reduce word count. Suggest diagrams only where they explain something more clearly.

Read PyAutoBrain’s people-facing writing guidance. Audit the actual pages, links and relevant source code. Identify duplication, outdated claims and material that belongs elsewhere. Keep Lens and Galaxy consistent while preserving their scientific differences.

First show me your findings and proposed structure. Then draft previews for review before applying changes. Do not raise PRs or modify Installation, Overview or Tutorials.

Approval

Looks good, apply these changes and run the example and Sphinx checks. Keep Installation, Overview and Tutorials untouched, and don't raise any PRs yet.

Local implementation

  • Worktree: /home/jammy/Code/PyAutoLabs/.worktrees/general-docs-refresh
  • Branch: feature/general-docs-refresh in PyAutoLens, PyAutoGalaxy and autolens_likelihood_function.
  • Apply approved General drafts and bibliographies; expose Galaxy Papers in the General toctree; repair the likelihood README.
  • Run all edited Python snippets, check configuration overrides, build full and focused Sphinx sites, preserve old anchors, check links and protected-file identity.
  • General-only scope is disjoint from installation-docs-polish, following the user's explicit instruction to leave those sections untouched.
  • External issue/PR and shipping steps deferred: the current deliverable is local applied changes and validation, not publication. No merge authority.
  • Validation scripts and logs: worktree validation/ directory. Human bundle: /mnt/c/Users/Jammy/Workspace/Science/scratch/general_rtd_audit_2026-11-12/applied/.

Activity

  1. Jammy2211 commented on Nov 12, 2026

    @Jammy2211
    CollaboratorAuthor

    Committed, pushed and opened the three approved PRs under the recorded development-only Heart RED override:

    Lens and Galaxy carry pending-release. All remain open and unmerged; no auto-merge or release requested. Applicable documentation checks and the explicit override are recorded in each PR. Next step is human review; merge requires a separate instruction and green required checks.

  2. Jammy2211 commented on Nov 12, 2026

    @Jammy2211
    CollaboratorAuthor

    Shipped and merged under the live human command: “Check Lens CI again. If it's all green, merge all three PRs, including the likelihood repo with no CI, and close out the task.”

    Both libraries passed Docs, Python 3.12, Python 3.13 and no-JAX CI at the reviewed heads. No CI is configured for the README-only likelihood repository; the user explicitly authorized merging it. The library freeze was clear. All three merged heads are verified ancestors of origin/main.

    General documentation, citations, literature lists and the likelihood index are complete. Installation, Overview, Tutorials and Community were preserved. Local validation and review found no merge-blocking issues. Lens and Galaxy remain pending release; no release was performed.

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