allenai / python-package-template

A template repo for Python packages
Apache License 2.0
403 stars 68 forks source link

Bump myst-parser from 0.15.2 to 0.16.0 #19

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps myst-parser from 0.15.2 to 0.16.0.

Release notes

Sourced from myst-parser's releases.

v0.16.0

What's Changed

New Contributors

Full Changelog: https://github.com/executablebooks/MyST-Parser/compare/v0.15.2...v0.16.0

Changelog

Sourced from myst-parser's changelog.

0.16.0 - 2021-12-06

This release contains a number of exciting improvements:

Upgrade of Markdown parser

markdown-it-py has been upgraded to v2.0.0. This upgrade brings full compliance with the CommonMark v0.30 specification.

Additionally, mdit-py-plugins has been upgraded to v0.3.0. This improves the parsing of the MyST target syntax, to allow for spaces and additional special characters in the target name, for example this is now valid:

(a bc   |@<>*./_-+:)=

Header

Also MyST role syntax now supports unlimited length in the role name and new lines in the content. For example, this is now valid:

{abc}`xy
new line`

Improvements for Docutils-only use

MyST now allows for Docutils-only use (outside of Sphinx), that allows for MyST configuration options to be set via the docutils.conf file, or on the command line.

On installing MyST-Parser, the following CLI-commands are made available:

  • myst-docutils-html: converts MyST to HTML
  • myst-docutils-html5: converts MyST to HTML5
  • myst-docutils-latex: converts MyST to LaTeX
  • myst-docutils-xml: converts MyST to docutils-native XML
  • myst-docutils-pseudoxml: converts MyST to pseudo-XML (to visualise the AST structure)

You can also install the myst-docutils package from pip, which includes no direct install requirements on docutils or sphinx.

See MyST with Docutils for more information.

Thanks to help from @​cpitclaudel!

Include MyST files in RST files

With docutils>=0.17, the include directive has a parser option. This can be used with myst-parser to include MyST files in RST files.

... (truncated)

Commits
  • 5d1b081 🚀 RELEASE: v0.16.0 (#457)
  • 87d6af7 🧪 TESTS: Add for gettext_additional_targets (#459)
  • 675a1c6 👌 IMPROVE: parse_directive_options
  • 894e8a9 🔧 MAINTAIN: Add publishing job for myst-docutils (#456)
  • 560f641 ✨ NEW: Add Docutils MyST config and CLI (#426)
  • 86bf84d ✨ NEW: Add fieldlist extension (#455)
  • cf18116 🔧 MAINTAIN: Remove empty "sphinx" extra (#350)
  • 9b1017c 👌 IMPROVE: Add \\ for hard-breaks in latex (#453)
  • ea6e967 🐛 FIX: Convert empty directive option to None (#452)
  • 89ad170 🐛 FIX: Ensure parent files are re-built if include file changes (#451)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 2 years ago

Superseded by #21.