Skip to content

Commit a25f5c8

Browse files
catropejenkins-bot
authored and
jenkins-bot
committed
docs: Move SVGO preset JSON file to the public/ directory
This reverts commit 8e1ca4b. In theory, we should be able to put this file in the public/ directory and link it using an absolute path like /SVG-foo.json , but that doesn't work when a docroot is used. This is a bug in VitePress, which I've filed as vuejs/vitepress#1806 In the meantime, using a relative path works around this issue. Change-Id: I86367455eea49766090c5cdfe74f8da6b2514731
1 parent 5a74ed4 commit a25f5c8

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/codex-docs/docs/contributing/designing-icons.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ Export the optimized version of the icon with help from Figma’s [SVG Export pl
146146

147147
<div class="cdx-docs-col cdx-docs-col-start cdx-docs-col-m">
148148

149-
1. Find the SVG Export plugin using the “Plugins” section in Figma’s main menu and run it. Before exporting the icon, please import the [preset “WikimediaUI” (download link for JSON file)](./SVG-export-Wikimedia-SVGO-preset.json). The import option is available from a menu in the “Presets” panel.
149+
1. Find the SVG Export plugin using the “Plugins” section in Figma’s main menu and run it. Before exporting the icon, please import the [preset “WikimediaUI” (download link for JSON file)](../SVG-export-Wikimedia-SVGO-preset.json). The import option is available from a menu in the “Presets” panel.
150150

151151
2. Apply the WikimediaUI SVGO presets to the icon to be exported, then proceed to export the icon using the “Export all” button
152152
</div>

0 commit comments

Comments
 (0)