diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 237ec8f4..65dd443a 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -10,12 +10,6 @@ export default defineConfig({ lang: 'en', description: 'View, compress, crop, convert format, search and find similary images in VSCode', themeConfig: { - nav: [ - { - text: 'Changelog', - link: 'https://github.com/hemengke1997/vscode-image-manager/blob/master/CHANGELOG.md', - }, - ], sidebar: [ { text: 'Guides', @@ -159,6 +153,10 @@ export default defineConfig({ }, }, themeConfig: { + logo: '/images/logo.svg', socialLinks: [{ icon: 'github', link: 'https://github.com/hemengke1997/vscode-image-manager' }], + search: { + provider: 'local', + }, }, }) diff --git a/docs/images/cmd.png b/docs/images/cmd.png deleted file mode 100644 index 18c59e67..00000000 Binary files a/docs/images/cmd.png and /dev/null differ diff --git a/docs/images/contextmenu.png b/docs/images/contextmenu.png deleted file mode 100644 index ed702f71..00000000 Binary files a/docs/images/contextmenu.png and /dev/null differ diff --git a/docs/images/logo.svg b/docs/images/logo.svg new file mode 100644 index 00000000..b53ed2b3 --- /dev/null +++ b/docs/images/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index ddab8fda..f7c24753 100644 --- a/docs/index.md +++ b/docs/index.md @@ -5,6 +5,9 @@ layout: home hero: name: "VSCode Image Manager" text: "Powerful yet easy-to-use VSCode image management extension" + image: + src: /images/logo.svg + alt: VSCode Image Manager actions: - theme: brand text: Get Started diff --git a/docs/zh/index.md b/docs/zh/index.md index f7575d44..12abd298 100644 --- a/docs/zh/index.md +++ b/docs/zh/index.md @@ -5,6 +5,9 @@ layout: home hero: name: "VSCode Image Manager" text: "强大易用的VSCode图片管理插件" + image: + src: /images/logo.svg + alt: VSCode Image Manager actions: - theme: brand text: 开始使用 diff --git a/locales/en.json5 b/locales/en.json5 index 8a03d7ff..6b1c4674 100644 --- a/locales/en.json5 +++ b/locales/en.json5 @@ -58,7 +58,7 @@ }, svg: { compressedAttribute: 'Add "compressed" attribute to svg after compression. Set to null to disable', - removeDataAttributes: 'Remove data-* attributes from svg. Except data-[compressedAttribute]', + removeDataAttributes: 'Remove data-* attributes from svg. Except data-[{compressedAttribute}]', }, }, conversion: { diff --git a/locales/ja.json5 b/locales/ja.json5 index 6353d547..5ca32a1e 100644 --- a/locales/ja.json5 +++ b/locales/ja.json5 @@ -59,7 +59,7 @@ }, svg: { compressedAttribute: '圧縮後のsvgに「圧縮済み」属性を追加します。無効にするにはnullを設定します', - removeDataAttributes: 'svgからdata-*属性を削除します。data-[compressedAttribute]を除きます', + removeDataAttributes: 'svgからdata-*属性を削除します。data-[{compressedAttribute}]を除きます', }, }, conversion: { diff --git a/locales/zh-CN.json5 b/locales/zh-CN.json5 index f4db7e9e..b05ed747 100644 --- a/locales/zh-CN.json5 +++ b/locales/zh-CN.json5 @@ -59,7 +59,7 @@ }, svg: { compressedAttribute: 'svg压缩后添加「已压缩」属性。如果设置为 null,则禁用功能', - removeDataAttributes: '删除svg中的 data-* 属性。除了 data-[compressedAttribute]', + removeDataAttributes: '删除svg中的 data-* 属性。除了 data-[{compressedAttribute}]', }, }, conversion: { diff --git a/locales/zh-TW.json5 b/locales/zh-TW.json5 index b3f95120..48c964f7 100644 --- a/locales/zh-TW.json5 +++ b/locales/zh-TW.json5 @@ -59,7 +59,7 @@ }, svg: { compressedAttribute: 'svg壓縮後添加「已壓縮」屬性。如果設置為 null,則禁用功能', - removeDataAttributes: '刪除svg中的 data-* 屬性。除了 data-[compressedAttribute]', + removeDataAttributes: '刪除svg中的 data-* 屬性。除了 data-[{compressedAttribute}]', }, }, conversion: {