Skip to content

Preserve relative paths in copied root pages#124

Merged
timkpaine merged 2 commits into
python-project-templates:mainfrom
Point72:tkp/root-page-relative-paths
Jul 22, 2026
Merged

Preserve relative paths in copied root pages#124
timkpaine merged 2 commits into
python-project-templates:mainfrom
Point72:tkp/root-page-relative-paths

Conversation

@timkpaine

Copy link
Copy Markdown
Member

yardang copies the configured documentation root to repository-level index.md, which changes the base directory used by relative links and assets.

  • Rebase relative Markdown links, images, reference definitions, and active raw HTML href, src, and srcset values.
  • Preserve external URLs, query strings, fragments, code examples, and HTML comments.
  • Copy locally referenced raw HTML assets into matching paths under the Sphinx output directory.
  • Cover mixed data/local srcset values, angle-delimited paths, unquoted attributes, and fenced content.

@codecov

codecov Bot commented Jul 22, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.44444% with 14 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.30%. Comparing base (b74a1df) to head (290910b).

Files with missing lines Patch % Lines
yardang/markdown.py 91.71% 5 Missing and 9 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #124      +/-   ##
==========================================
+ Coverage   83.72%   85.30%   +1.58%     
==========================================
  Files          10       12       +2     
  Lines        1456     1708     +252     
  Branches      150      184      +34     
==========================================
+ Hits         1219     1457     +238     
- Misses        198      203       +5     
- Partials       39       48       +9     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@timkpaine
timkpaine merged commit 90e4dd5 into python-project-templates:main Jul 22, 2026
3 checks passed
@timkpaine
timkpaine deleted the tkp/root-page-relative-paths branch July 22, 2026 03:30
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