Skip to content

Update myst-parser requirement from ~=0.18.0 to ~=0.18.1

Created by: dependabot[bot]

Updates the requirements on myst-parser to permit the latest version.

Release notes

Sourced from myst-parser's releases.

v0.18.1

What's Changed

New Contributors

Full Changelog: https://github.com/executablebooks/MyST-Parser/compare/v0.18.0...v0.18.1

Changelog

Sourced from myst-parser's changelog.

0.18.1 - 2022-27-09

Full Changelog: v0.18.0...v0.18.1

  • ️ UPGRADE: docutils 0.19 support (#611)
  • NEW: Add attrs_image (experimental) extension (#620)
    • e.g. ![image](https://github.com/executablebooks/MyST-Parser/blob/master/image.png){#id .class width=100px}
    • See: Optional syntax section
    • Important: This is an experimental extension, and may change in future releases

0.18.0 - 2022-06-07

Full Changelog: v0.17.2...v0.18.0

This release adds support for Sphinx v5 (dropping v3), restructures the code base into modules, and also restructures the documentation, to make it easier for developers/users to follow.

It also introduces document-level configuration via the Markdown top-matter, under the myst key. See the Local configuration section for more information.

Breaking changes

This should not be breaking, for general users of the sphinx extension (with sphinx>3), but will be for anyone directly using the Python API, mainly just requiring changes in import module paths.

The to_docutils, to_html, to_tokens (from myst_parser/main.py) and mock_sphinx_env/parse (from myst_parser.sphinx_renderer.py) functions have been removed, since these were primarily for internal testing. Instead, for single page builds, users should use the docutils parser API/CLI (see ), and for testing, functionality has been moved to https://github.com/chrisjsewell/sphinx-pytest.

The top-level html_meta and substitutions top-matter keys have also been deprecated (i.e. they will still work but will emit a warning), as they now form part of the myst config, e.g.

---
html_meta:
  "description lang=en": "metadata description"
substitutions:
  key1: I'm a **substitution**
---

is replaced by:

---
myst:
  html_meta:
    "description lang=en": "metadata description"
  substitutions:
    key1: I'm a **substitution**
---

... (truncated)

Commits

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)

Merge request reports