Skip to content

docs: render __Contents__ blocks as Markdown lists#36

Merged
Jammy2211 merged 1 commit intomainfrom
feature/contents-block-bullets
May 8, 2026
Merged

docs: render __Contents__ blocks as Markdown lists#36
Jammy2211 merged 1 commit intomainfrom
feature/contents-block-bullets

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

Convert the __Contents__ block in scripts/model_composition/multi_galaxy_mge.py from plain **Section:** lines into Markdown list bullets (- **Section:**).

Without bullet markers, GitHub and JupyterLab collapse the contents block into one continuous paragraph in the generated notebook's first markdown cell. The fix is purely Markdown.

Scripts Changed

1 script — scripts/model_composition/multi_galaxy_mge.py. (This is the only script in this repo with a __Contents__ block.)

Test Plan

  • Smoke tests pass

Refs PyAutoLabs/autolens_workspace#138

🤖 Generated with Claude Code

Without bullet markers, GitHub and JupyterLab collapse the contents
block into one paragraph in the generated notebook's first markdown
cell. Prefixing each `**Section:**` line with `- ` makes it render
as a list. Continuation lines are indented two spaces so they belong
to the same list item.

Text-only edit inside top-level module docstrings — no Python or
notebook execution change.

Refs: PyAutoLabs/autolens_workspace#138
@Jammy2211 Jammy2211 added the pending-release PR queued for the next release build label May 8, 2026
@Jammy2211 Jammy2211 merged commit b2b1114 into main May 8, 2026
4 checks passed
@Jammy2211 Jammy2211 deleted the feature/contents-block-bullets branch May 8, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pending-release PR queued for the next release build

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant