Skip to content

Commit

Permalink
Update Material for MkDocs emoji config
Browse files Browse the repository at this point in the history
As opensafely-core/ehrql#1678.

Fixes the following warning:

```
WARNING -  Material emoji logic has been officially moved into mkdocs-material
           version 9.4. Please use Material's 'material.extensions.emoji.twemoji'
           as mkdocs_material_extensions is deprecated and will no longer be
           supported moving forward. This is the last release.
```
  • Loading branch information
StevenMaude committed Oct 24, 2023
1 parent 9d9741e commit a3614a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ markdown_extensions:
- md_in_html
- attr_list
- pymdownx.emoji:
emoji_index: !!python/name:materialx.emoji.twemoji
emoji_generator: !!python/name:materialx.emoji.to_svg
emoji_index: !!python/name:material.extensions.emoji.twemoji
emoji_generator: !!python/name:material.extensions.emoji.to_svg

hooks:
- hooks/parent_snippets.py
Expand Down

0 comments on commit a3614a9

Please sign in to comment.