Skip to content

Un-privatize iter_markdown across the sources.py / wiki.py seam - #172

Merged
coordt merged 1 commit into
mainfrom
169-unprivatize-iter-markdown
Aug 16, 2026
Merged

Un-privatize iter_markdown across the sources.py / wiki.py seam#172
coordt merged 1 commit into
mainfrom
169-unprivatize-iter-markdown

Conversation

@coordt

@coordt coordt commented Aug 16, 2026

Copy link
Copy Markdown
Member

Summary

  • Renamed _iter_markdowniter_markdown and _is_canonical_sourceis_canonical_source in sources.py, since both are genuinely shared across the sources.py/wiki.py module boundary — underscore-prefixing implied internal-only, which was misleading.
  • Updated wiki.py's import and all call sites to match.

Closes #169.

Test plan

  • uv run pytest -q — 269 passed
  • uv run mypy wiki_toolkit — no issues
  • /code-review (high) — no findings

wiki.py imported an underscore-prefixed "private" name from sources.py
across a real module seam. Rename both to public names to make the
shared interface explicit.
@github-actions

Copy link
Copy Markdown
Contributor

Version hint: patch
Current version: 0.29.1
New version (when merged): 0.29.2

Comment ID: Display version hint-auto-generated

@github-actions

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://callowayproject.github.io/wiki-toolkit/pr-preview/pr-172/

Built to branch gh-pages at 2026-08-16 20:20 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@coordt
coordt merged commit be7d2c6 into main Aug 16, 2026
7 checks passed
@coordt
coordt deleted the 169-unprivatize-iter-markdown branch August 16, 2026 20:22
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.

Un-privatize _iter_markdown across the sources.py / wiki.py seam

1 participant