Page MenuHomeSolus

Update python-docutils to 0.16
ClosedPublic

Authored by algent on Apr 30 2020, 5:14 PM.

Details

Summary

Changelog:

  • reStructuredText:
    • Keep backslash escapes in the document tree. This allows, e.g., escaping of author-separators in bibliographic fields.
  • LaTeX writer:
    • Informal titles of type rubric default to bold-italic and left aligned.
    • Deprecate \docutilsrole prefix for styling commands: use \DUrole instead.
    • Fix topic subtitle.
    • Add "latex writers" to the config_section_dependencies.
    • Ignore classes for rubric elements (class wrapper interferes with LaTeX formatting).
  • tools/buildhtml.py
    • New option --html-writer allows to select html (default), html4 or html5.
  • docutils/io.py
    • Remove the handle_io_errors option from io.FileInput/Output.
  • docutils/nodes.py
    • If auto_id_prefix ends with %, this is replaced with the tag name.
  • More details for various bugfixes and improvements here

Signed-off-by: Algent Albrahimi <algent@protonmail.com>

Test Plan
  • Run retext which has python-docutils as rundep.
  • Successfully rebuild python-m2r, python-sphinx, pelican and thonny.
  • Successfully test python-m2r by converting a README.md file to README.rst
  • Successfully test pelican by generating a site and preview using this guide
  • Successfully run some scripts in thonny graphical output.

Diff Detail

Repository
R2580 python-docutils
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

algent created this revision.Apr 30 2020, 5:14 PM
algent requested review of this revision.Apr 30 2020, 5:14 PM
algent retitled this revision from python-docutils to 0.16 to Update python-docutils to 0.16.Apr 30 2020, 5:17 PM
algent edited the test plan for this revision. (Show Details)
JoshStrobl requested changes to this revision.Apr 30 2020, 8:06 PM
JoshStrobl added a subscriber: JoshStrobl.

This needs to be tested against python-m2r, python-sphinx, pelican, and thonny.

This revision now requires changes to proceed.Apr 30 2020, 8:06 PM
algent edited the test plan for this revision. (Show Details)May 1 2020, 10:58 AM
algent requested review of this revision.May 1 2020, 11:02 AM
algent edited the test plan for this revision. (Show Details)May 4 2020, 7:33 PM
JoshStrobl accepted this revision.May 6 2020, 6:12 PM

LGTM and thank you for the more comprehensive testing.

This revision is now accepted and ready to land.May 6 2020, 6:12 PM
This revision was automatically updated to reflect the committed changes.