inveniosoftware / docs-invenio-rdm

InvenioRDM docs
https://inveniordm.docs.cern.ch/
MIT License
21 stars 60 forks source link

Upgrade mkdocs material to address deprecation breaking builds #591

Closed fenekku closed 4 months ago

fenekku commented 7 months ago

At time: 2023-12-01 one

Describe the bug

Fix this:

 INFO    -  DeprecationWarning: 'materialx.emoji.twemoji' is deprecated.
Material emoji logic has been officially moved into mkdocs-material
version 9.4. Please use Material's 'material.extensions.emoji.twemoji'
instead of 'materialx.emoji.twemoji' in your 'mkdocs.yml' file.

markdown_extensions:
  - pymdownx.emoji:
      emoji_index: !!python/name:material.extensions.emoji.twemoji
      emoji_generator: !!python/name:material.extensions.emoji.to_svg

'mkdocs_material_extensions' is deprecated and will no longer be
supported moving forward. This is the last release.