Skip to content

Update to docutils 0.16 #33

Description

@domdfcoding

Hi,

Would it be possible to have an updated release that supports docutils 0.16?

From what I can tell the changes from 0.14 to 0.16 are:

  • adding languages/ko.py and parsers/rst/languages/ko.py
  • adding a width option to the Table directive
  • Inliner.phrase_ref now has a default value for text of None
  • TitlePromoter.promote_title now returns bool not Optional[int]. Same for promote_subtitle
  • StripClassesAndElements.check_classes now returns bool, not int
  • utils.unescape moved to nodes
  • utils.unique_combinations was deprecated, although the return type might be the same.

I dare say the current stubs will work with 0.16, but pip refuses to install them as the docutils requirement is pinned to 0.14 but one of my dependencies requires >=0.16 .

I'd be happy to submit a PR with these changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions