nanocurrency / nano-docs

Documentation for the Nano protocol
https://docs.nano.org/
149 stars 117 forks source link

Update deprecated mkdocs.yml options #689

Closed qwahzi closed 9 months ago

qwahzi commented 9 months ago

Fixing mkdocs build --strict issues with materialx.emoji.twemoji and social.cards_color (both are deprecated):

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'
           as mkdocs_material_extensions is deprecated and will no longer be
           supported moving forward. This is the last release.

             File "/home/default/.local/lib/python3.10/site-packages/materialx/emoji.py", line 106, in twemoji
               return _patch_index(options)
             File "/home/default/.local/lib/python3.10/site-packages/materialx/emoji.py", line 59, in _deprecated_func
               warnings.warn(
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.
WARNING -  Config value 'plugins': Plugin 'material/social' option 'cards_color': Deprecated, use 'cards_layout_options.background_color' and 'cards_layout_options.color' with 'default' layout
qwahzi commented 9 months ago

Bundling all the updates here: https://github.com/nanocurrency/nano-docs/pull/690