Skip to content

Fix parsing for unsupported builders, including rinohtype (for pdf)#103

Merged
foster999 merged 2 commits intomasterfrom
fix-pdf-rinohtype
Feb 7, 2021
Merged

Fix parsing for unsupported builders, including rinohtype (for pdf)#103
foster999 merged 2 commits intomasterfrom
fix-pdf-rinohtype

Conversation

@foster999
Copy link
Copy Markdown
Collaborator

Now uses base docutils classes when builder is unsupported, rather than custom sphinx-tabs nodes.

Added test for successful building with rinohtype. This includes regression testing of the XML, but not the output pdf. Turns out pdf's are quite awkward to diff!

Fixes #99

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 6, 2021

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.10%. Comparing base (f16c3a0) to head (918bb16).
Report is 53 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #103      +/-   ##
==========================================
+ Coverage   94.08%   97.10%   +3.01%     
==========================================
  Files           1        1              
  Lines         203      207       +4     
==========================================
+ Hits          191      201      +10     
+ Misses         12        6       -6     
Flag Coverage Δ
pytests 97.10% <100.00%> (+3.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@Daltz333
Copy link
Copy Markdown
Collaborator

Daltz333 commented Feb 6, 2021

I'll review and test with my groups documentation in a few hours

@foster999
Copy link
Copy Markdown
Collaborator Author

Thanks, that would be really useful as the test example is quite minimal 👍🏻

@Daltz333
Copy link
Copy Markdown
Collaborator

Daltz333 commented Feb 7, 2021

@foster999
Copy link
Copy Markdown
Collaborator Author

Great, thanks for giving it a try

@foster999 foster999 merged commit d29f180 into master Feb 7, 2021
@foster999 foster999 deleted the fix-pdf-rinohtype branch February 7, 2021 11:03
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.

2.0.0 version breaks pdf generation

2 participants