Skip to content

docs: render __Contents__ blocks as Markdown lists - #9

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

Jammy2211 merged 1 commit into
mainfrom
feature/contents-block-bullets

Conversation

@Jammy2211

Copy link
Copy Markdown
Collaborator

Summary

Convert __Contents__ blocks at the top of HowToLens 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 — exactly the opposite of what the index is meant to do. The fix is purely Markdown.

Scripts Changed

37 scripts under scripts/, covering: chapter_1_introduction, chapter_2_lens_modeling, chapter_3_search_chaining, chapter_4_pixelizations, chapter_optional, simulator.

All edits are confined to the top-level module docstring — the __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 d1d71c0 into main May 8, 2026
5 checks passed
@Jammy2211
Jammy2211 deleted the feature/contents-block-bullets branch May 8, 2026 17:20
@Jammy2211 Jammy2211 removed the pending-release PR queued for the next release build label Oct 7, 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