Skip to content

Commit 7674015

Browse files
committed
minor #2163 [Icons] add versionadded for Icon Aliases to doc (kbond)
This PR was merged into the 2.x branch. Discussion ---------- [Icons] add versionadded for Icon Aliases to doc | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | Issues | n/a | License | MIT Commits ------- 4d03d40 doc: add versionadded to Icon Aliases
2 parents 781f66c + 4d03d40 commit 7674015

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/Icons/doc/index.rst

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -339,6 +339,10 @@ Now, all icons will have the ``fill`` attribute set to ``currentColor`` by defau
339339
Icon Aliases
340340
~~~~~~~~~~~~
341341

342+
.. versionadded:: 2.20
343+
344+
Icon Aliases feature was added in 2.20.
345+
342346
Aliases are custom names you can define to refer to any icon. They are useful for
343347
creating shortcuts to icons you frequently use in your templates:
344348

@@ -544,11 +548,11 @@ Full Configuration
544548
default_icon_attributes:
545549
# Default:
546550
fill: currentColor
547-
551+
548552
# Icon aliases (alias => icon name).
549553
aliases:
550554
# Exemple:
551-
dots: 'clarity:ellipsis-horizontal-line'
555+
dots: 'clarity:ellipsis-horizontal-line'
552556
553557
# Configuration for the "on demand" icons powered by Iconify.design.
554558
iconify:
@@ -559,7 +563,7 @@ Full Configuration
559563
560564
# The endpoint for the Iconify API.
561565
endpoint: 'https://api.iconify.design'
562-
566+
563567
# Whether to ignore errors when an icon is not found.
564568
ignore_not_found: false
565569

0 commit comments

Comments
 (0)