Skip to content

docs: render __Contents__ blocks as Markdown lists#54

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

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

Conversation

@Jammy2211
Copy link
Copy Markdown
Collaborator

Summary

Convert __Contents__ blocks at the top of workspace tutorial scripts' module docstrings 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. Prefixing each entry with - makes it render as a list. Text-only change inside top-level module docstrings.

Scripts Changed

1 script — scripts/cookbooks/model.py had a single un-bulleted **Models:** heading inside its __Contents__ block. Most of this repo's tutorial scripts were already bulleted (28 files); only this one needed the fix.

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 31c5b9f into main May 8, 2026
5 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