Forráskód Böngészése

Fix instruction for CDN icons version (#2157)

BG-Software 7 hónapja
szülő
commit
b47815d530

+ 5 - 0
.changeset/warm-planets-look.md

@@ -0,0 +1,5 @@
+---
+
+---
+
+Fix instruction for CDN icons version

+ 2 - 0
docs/icons/libraries/webfont.mdx

@@ -33,6 +33,8 @@ or just [download from Github](https://github.com/tabler/tabler-icons/releases).
 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@$ICONS_VERSION/dist/tabler-icons.min.css">
 <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@tabler/icons-webfont@$ICONS_VERSION/dist/tabler-icons.min.css">
 ```
 ```
 
 
+Instead of a specific version, you can use `latest` to always get the newest icons.
+
 ## Usage
 ## Usage
 
 
 ### HTML
 ### HTML

+ 2 - 2
docs/icons/static-files/png.mdx

@@ -16,8 +16,6 @@ All PNG files are stored in `icons` subdirectory.
 
 
 ## CDN
 ## CDN
 
 
-Replace `$ICONS_VERSION` with `latest` or any specific version you need.
-
 #### Outline version
 #### Outline version
 
 
 ```html
 ```html
@@ -29,3 +27,5 @@ Replace `$ICONS_VERSION` with `latest` or any specific version you need.
 ```html
 ```html
 <img src="https://unpkg.com/@tabler/icons-png@$ICONS_VERSION/icons/filled/home.png" />
 <img src="https://unpkg.com/@tabler/icons-png@$ICONS_VERSION/icons/filled/home.png" />
 ```
 ```
+
+Instead of a specific version, you can use `latest` to always get the newest icons.

+ 2 - 2
docs/icons/static-files/svg.mdx

@@ -59,8 +59,6 @@ Add an icon to be displayed on your page with the following markup (`activity` i
 
 
 ## CDN
 ## CDN
 
 
-Replace `$ICONS_VERSION` with `latest` or any specific version you need.
-
 #### Outline version
 #### Outline version
 
 
 ```html
 ```html
@@ -72,3 +70,5 @@ Replace `$ICONS_VERSION` with `latest` or any specific version you need.
 ```html
 ```html
 <img src="https://unpkg.com/@tabler/icons@$ICONS_VERSION/icons/filled/home.svg" />
 <img src="https://unpkg.com/@tabler/icons@$ICONS_VERSION/icons/filled/home.svg" />
 ```
 ```
+
+Instead of a specific version, you can use `latest` to always get the newest icons.