Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

html_meta and substitutions topmatter keys deprecated, moved under myst key #1263

Closed
6 of 7 tasks
stevepiercy opened this issue Jun 23, 2022 · 0 comments
Closed
6 of 7 tasks
Assignees
Milestone

Comments

@stevepiercy
Copy link
Contributor

stevepiercy commented Jun 23, 2022

Plone Documentation versions affected

  • 5.x
  • 6.x

Description

The release of myst-parser 0.18.0 on 2022-06-07 introduced a breaking change. From https://myst-parser.readthedocs.io/en/latest/develop/_changelog.html#breaking-changes

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**

This will need to be pushed out to all other repos that are imported by this one, as well as training.

  • documentation
  • plone.api
  • plone.restapi
  • volto
  • training

Related issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant