Repository navigation
Read page descriptions on older Docutils releases - #156
jacobtomlinson merged 1 commit into
Conversation
Signed-off-by: Max Freedom Pollard <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: NVIDIA/sphinx-llm/.coderabbit.yaml Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 12 included reviews per hour; 9 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe metadata description lookup now supports Docutils environments without ChangesMetadata extraction compatibility
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #156 +/- ##
===========================================
+ Coverage 81.89% 95.17% +13.28%
===========================================
Files 4 13 +9
Lines 624 3337 +2713
Branches 87 314 +227
===========================================
+ Hits 511 3176 +2665
- Misses 84 107 +23
- Partials 29 54 +25
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
jacobtomlinson
left a comment
There was a problem hiding this comment.
Thanks for the contribution!
The oldest sphinx version currently supported here is v5.1.0 which pins docutils>=0.14,<0.20. We don't explicitly test different docutils versions in CI, so the Sphinx 5.1 job will likely be pulling in docutils 0.19.x.
I think this highlights that we should add a mindeps CI job that tests our package floor for all dependencies including transients. I'm not comfortable merging this PR until we have a solid mindeps CI job. I'll start another PR to add that in.
On Docutils releases before 0.18,
docutils.nodes.metais not available. Reading a page description raisesAttributeError, sollms.txtfalls back to page content instead of using the authoredhtml_metadescription.Use the same tag-name fallback already used by
docref, and add a regression test for the missing node class. The test helper also works with older Docutils so the existing fresh-build and incremental-build tests can exercise that combination.Validation: