You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pretty tricky bug that I'm trying to catch up for months now!
Expected behavior: when using tag icons, the order of icons identifiers should not matter and every icon should be rendered, no matter if its identifier is below or above the entry entry.
Given this mkdocs.yml:
site_name: My Docsplugins:
- tags:
enabled: truetheme:
name: materialicon:
tag:
database: fontawesome/solid/database# icons above this entry are not rendereddefault: fontawesome/solid/tagglobe: fontawesome/solid/earth-europeextra:
tags:
DuckDB: databaseGEOS: globePostGIS: databasePostgreSQL: database
This index.md:
---tags:
- DuckDB
- GEOS
- PostGIS
- PostgreSQL---# Welcome to MkDocs
For full documentation visit [mkdocs.org](https://www.mkdocs.org).
Output:
Now, let's move every icon identifiers below ðefault entry:
[...]theme:
name: materialicon:
tag:
# icons above this entry are not rendereddefault: fontawesome/solid/tagdatabase: fontawesome/solid/databaseglobe: fontawesome/solid/earth-europe[...]
Le plugin de gestion des mots-clés a subi une refonte qui implique de
nombreux changements
(squidfunk/mkdocs-material#6517). Cette PR
intègre les modifications nécessaires.
De plus, j'ai enfin trouvé le bug qui fait péter pas mal d'icônes de
tags : squidfunk/mkdocs-material#6635. Vu que
l'ordre est significatif, j'ai désactivé le tri automatique du YAML en
sortie.
Context
No response
Bug description
Pretty tricky bug that I'm trying to catch up for months now!
Expected behavior: when using tag icons, the order of icons identifiers should not matter and every icon should be rendered, no matter if its identifier is below or above the
entry
entry.Given this mkdocs.yml:
This
index.md
:Output:
Now, let's move every icon identifiers below
ðefault
entry:Output:
🥳 every defined icons are rendered!
Related links
Reproduction
9.5.3+insiders.4.49.2-plugin_tags_icons_order.zip
Steps to reproduce
theme.icon.tag
, add some icons above and below thedefault
entryextra.tags
, match between tags and iconsmkdocs serve
--> every tag whose icon entry is defined abovedefault
does not have its own icon renderedBrowser
Chrome, Firefox
Before submitting
The text was updated successfully, but these errors were encountered: