The page parser in `tests/docs/pages.py` misreads Markdown no page uses yet
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start with tests/docs/pages.py and its existing tests; the issue lists the parser constructs that are misread and asks for a test per construct. Reproduce a case from the list, run the relevant page parser tests, then run make qa. Done when each listed construct is covered and fixed here, and the updated file matches the copies in the named repositories.
Written by the indexing model from the issue text.
Description
Description of Technical Debt
tests/docs/pages.py is hand-written, and copied into living-doc-generator-markdown, living-doc-collector-gh and
living-doc-utilities (and ported into living-doc). Two reviews found constructs it misreads:
_CODE_SPAN's backtick run can backtrack, so a double backtick pairs with a later single one, and a code span may
cross a list or table boundary.- A
<!--in the middle of a prose line opens a comment, and the comment state and the comment regex can disagree. - A tab counts as one column, not up to four.
- A closing fence left of its list item's content closes the block instead of ending the item, and the list state is
not updated on a fence's own lines. - Nested-list fences and a list inside a blockquote are not handled.
- A prose line that starts
[label]:reads as a reference definition, and footnote labels are not handled. git ls-filesruns without-z, so a non-ASCII path comes back quoted._LINE_NUMBER_REknows only two dotfiles.
Impact of Technical Debt
- A page check may pass or fail wrongly the day a page uses one of these.
Category
Testing / Test Coverage
Priority
Low - Nice to have
Proposed Solution
Fix here first, with a test per construct, then update each copy. Pick it up when a page uses one of these constructs or a check misreads a page.
Effort Estimate
2 days
Dependencies / Related
No response
Additional Context
Measured 2026-11-12 at living-doc-toolkit fea9aa6 (v0.1.0). Re-check:
Per repository: diff <its tests/docs/pages.py> <this repository's>, then plant the construct on a page and run make qa.
- Dominant language
- Python
- Stars
- 0
- Forks
- 0
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 19
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AbsaOSS/living-doc-toolkit
-
tech debt
Difficulty 1/5 Under an hour Newbie friendliness 88/100
AbsaOSS/living-doc-toolkit#120 ·
Maintainers usually reply within 1 day
-
tech debt
Difficulty 2/5 Half a day Newbie friendliness 84/100
AbsaOSS/living-doc-toolkit#118 ·
Maintainers usually reply within 1 day
-
tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
AbsaOSS/living-doc-toolkit#116 ·
Maintainers usually reply within 1 day
-
tech debt
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
AbsaOSS/living-doc-toolkit#115 ·
Maintainers usually reply within 1 day
-
tech debt
Difficulty 5/5 Over a week Newbie friendliness 25/100
AbsaOSS/living-doc-toolkit#117 ·
Maintainers usually reply within 1 day
All issues in AbsaOSS/living-doc-toolkit
Similar issues
-
documentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
JheysonJhordyHuarauyaRiquelme/sprocguard#18 ·
Maintainers usually reply within 1 day
-
enhancement good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
dlq/synthpopcan#59 ·
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mdn/translated-content#40220 ·
Maintainers usually reply within 4 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ETSInitiative/PETSIRD#243 ·
Maintainers usually reply within 1 day
-
deferred p2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
cuadrao-ai/argus#2160 ·
Maintainers usually reply within 1 day