From 3fc9d67bbf3adf5150f3961a44c01d8445799cc8 Mon Sep 17 00:00:00 2001 From: Zhengqbbb <1074059947@qq.com> Date: Sun, 18 Sep 2022 04:33:08 +0800 Subject: [PATCH] chore: update config files Co-authored-by: Zhengqbbb <1074059947@qq.com> --- .editorconfig | 7 +-- docs-zh/.vitepress/configs/head.ts | 14 +++-- docs/.vitepress/configs/head.ts | 2 +- docs/public/images/logo.svg | 48 ++++++++++++++++- scripts/docs-update-use-data.yml | 84 +++++++++++++++--------------- 5 files changed, 100 insertions(+), 55 deletions(-) diff --git a/.editorconfig b/.editorconfig index 43fbd8d9a..0a6881ec0 100644 --- a/.editorconfig +++ b/.editorconfig @@ -14,6 +14,7 @@ tab_width = 4 indent_size = 4 tab_width = 4 -[.x-cmd/**/*.yml] -indent_size = 2 -tab_width = 2 +[*.yml] +tab_width = 4 +indent_size = 4 +indent_style = space diff --git a/docs-zh/.vitepress/configs/head.ts b/docs-zh/.vitepress/configs/head.ts index 3f01aaab0..21da4e3bf 100644 --- a/docs-zh/.vitepress/configs/head.ts +++ b/docs-zh/.vitepress/configs/head.ts @@ -30,20 +30,18 @@ export const head: HeadConfig[] = [ ['meta', { name: 'og:image:alt', content: 'logo' }], ['meta', { name: 'application-name', content: name }], ['meta', { name: 'apple-mobile-web-app-title', content: name }], - ['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'black' }], - ['meta', { name: 'msapplication-TileColor', content: '#dd6954' }], - ['meta', { name: 'msapplication-TileImage', content: '/images/icons/favicon-192.png' }], - ['meta', { name: 'theme-color', content: '#dd6954' }], + ['meta', { name: 'apple-mobile-web-app-status-bar-style', content: 'default' }], + // NOTE: affect bing search console // ['link', { rel: 'canonical', href: site }], // ['link', { rel: 'alternate', href: site, hreflang: 'x-default' }], // ['link', { rel: 'alternate', href: site, hreflang: 'en-us' }], // ['link', { rel: 'alternate', href: `${site}/zh/`, hreflang: 'zh-hans' }], - ['link', { rel: 'shortcut icon', href: '/images/favicon.ico' }], - ['link', { rel: 'icon', type: 'image/x-icon', size: '16x16 32x32', href: '/images/favicon.ico' }], - ['link', { rel: 'icon', sizes: '32x32', href: '/images/icons/favicon-32.png' }], - ['link', { rel: 'icon', sizes: '192x192', href: '/images/icons/favicon-192.png' }], + ['link', { rel: 'shortcut icon', href: '/favicon.ico' }], + ['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }], + ['link', { rel: 'mask-icon', href: '/images/logo.svg', color: '#dd6954' }], + ['meta', { name: 'theme-color', content: '#dd6954' }], ['link', { rel: 'apple-touch-icon', href: '/images/icons/apple-touch-120x120.png' }], ['link', { rel: 'apple-touch-icon', sizes: '180x180', href: '/images/icons/apple-touch-180x180.png' }], diff --git a/docs/.vitepress/configs/head.ts b/docs/.vitepress/configs/head.ts index 5963a168f..9e61cdd43 100644 --- a/docs/.vitepress/configs/head.ts +++ b/docs/.vitepress/configs/head.ts @@ -41,7 +41,7 @@ export const head: HeadConfig[] = [ ['link', { rel: 'shortcut icon', href: '/favicon.ico' }], ['link', { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }], ['link', { rel: 'mask-icon', href: '/images/logo.svg', color: '#dd6954' }], - ['meta', { name: 'theme-color', content: '#000000' }], + ['meta', { name: 'theme-color', content: '#dd6954' }], ['link', { rel: 'apple-touch-icon', href: '/images/icons/apple-touch-120x120.png' }], ['link', { rel: 'apple-touch-icon', sizes: '180x180', href: '/images/icons/apple-touch-180x180.png' }], diff --git a/docs/public/images/logo.svg b/docs/public/images/logo.svg index 829b4ae23..c24ec9a27 100644 --- a/docs/public/images/logo.svg +++ b/docs/public/images/logo.svg @@ -1 +1,47 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/scripts/docs-update-use-data.yml b/scripts/docs-update-use-data.yml index cfa03d600..ed141e3d0 100644 --- a/scripts/docs-update-use-data.yml +++ b/scripts/docs-update-use-data.yml @@ -1,57 +1,57 @@ cz-git: - - name: Element Plus - link: https://github.com/element-plus/element-plus - icon: https://user-images.githubusercontent.com/40693636/172459748-939e3f1b-a694-4c09-b643-e1dce602105c.png + - name: Element Plus + link: https://github.com/element-plus/element-plus + icon: https://user-images.githubusercontent.com/40693636/172459748-939e3f1b-a694-4c09-b643-e1dce602105c.png - - name: Ant Design Vue - link: https://github.com/vueComponent/ant-design-vue - icon: https://user-images.githubusercontent.com/40693636/175873226-45eebf9c-280f-4201-a3d1-4ab259f5a6ad.png + - name: Ant Design Vue + link: https://github.com/vueComponent/ant-design-vue + icon: https://user-images.githubusercontent.com/40693636/175873226-45eebf9c-280f-4201-a3d1-4ab259f5a6ad.png - - name: TDesign-Vue-Next - link: https://github.com/Tencent/tdesign-vue-next - icon: https://user-images.githubusercontent.com/40693636/170830562-38e4c998-9af4-4303-9270-4f14e0942b08.png + - name: TDesign-Vue-Next + link: https://github.com/Tencent/tdesign-vue-next + icon: https://user-images.githubusercontent.com/40693636/170830562-38e4c998-9af4-4303-9270-4f14e0942b08.png - - name: iDux - link: https://github.com/IDuxFE/idux - icon: https://user-images.githubusercontent.com/40693636/171067486-56f50e23-a40b-4353-9c99-6fef702c9b4b.png + - name: iDux + link: https://github.com/IDuxFE/idux + icon: https://user-images.githubusercontent.com/40693636/171067486-56f50e23-a40b-4353-9c99-6fef702c9b4b.png - - name: NntUI - link: https://github.com/jdf2e/nutui - icon: https://user-images.githubusercontent.com/40693636/176894936-88fc85da-8fd7-4a0f-b641-7268c4759eb1.png + - name: NntUI + link: https://github.com/jdf2e/nutui + icon: https://user-images.githubusercontent.com/40693636/176894936-88fc85da-8fd7-4a0f-b641-7268c4759eb1.png - - name: Vben-Admin - link: https://github.com/vbenjs/vue-vben-admin - icon: https://user-images.githubusercontent.com/40693636/178189964-931a1fc2-92df-4d04-8d0d-b748fc318c0a.png + - name: Vben-Admin + link: https://github.com/vbenjs/vue-vben-admin + icon: https://user-images.githubusercontent.com/40693636/178189964-931a1fc2-92df-4d04-8d0d-b748fc318c0a.png - - name: Vue3-Antd-Admin - link: https://github.com/buqiyuan/vue3-antd-admin - icon: https://user-images.githubusercontent.com/40693636/170830597-31d6f0d7-2c93-491b-a984-7bf21db8f75b.png + - name: Vue3-Antd-Admin + link: https://github.com/buqiyuan/vue3-antd-admin + icon: https://user-images.githubusercontent.com/40693636/170830597-31d6f0d7-2c93-491b-a984-7bf21db8f75b.png - - name: Geeker-Admin - link: https://github.com/HalseySpicy/Geeker-Admin - icon: https://user-images.githubusercontent.com/40693636/170830842-319d83ce-df67-488d-b08f-818947a5a540.png + - name: Geeker-Admin + link: https://github.com/HalseySpicy/Geeker-Admin + icon: https://user-images.githubusercontent.com/40693636/170830842-319d83ce-df67-488d-b08f-818947a5a540.png - - name: Vuepress-Theme-Hope - link: https://github.com/vuepress-theme-hope/vuepress-theme-hope - icon: https://user-images.githubusercontent.com/40693636/170830621-45577c1d-6e6e-4916-bb43-15af954d994b.png + - name: Vuepress-Theme-Hope + link: https://github.com/vuepress-theme-hope/vuepress-theme-hope + icon: https://user-images.githubusercontent.com/40693636/170830621-45577c1d-6e6e-4916-bb43-15af954d994b.png - - name: Vuepress-Theme-Gungnir - link: https://github.com/Renovamen/vuepress-theme-gungnir - icon: https://user-images.githubusercontent.com/40693636/170830637-0d465b52-6204-4bbd-872f-fb6f27f1ed50.png + - name: Vuepress-Theme-Gungnir + link: https://github.com/Renovamen/vuepress-theme-gungnir + icon: https://user-images.githubusercontent.com/40693636/170830637-0d465b52-6204-4bbd-872f-fb6f27f1ed50.png czg: - - name: Element Plus - link: https://github.com/element-plus/element-plus - icon: https://user-images.githubusercontent.com/40693636/172459748-939e3f1b-a694-4c09-b643-e1dce602105c.png + - name: Element Plus + link: https://github.com/element-plus/element-plus + icon: https://user-images.githubusercontent.com/40693636/172459748-939e3f1b-a694-4c09-b643-e1dce602105c.png - - name: TDesign-Vue-Next - link: https://github.com/Tencent/tdesign-vue-next - icon: https://user-images.githubusercontent.com/40693636/170830562-38e4c998-9af4-4303-9270-4f14e0942b08.png + - name: TDesign-Vue-Next + link: https://github.com/Tencent/tdesign-vue-next + icon: https://user-images.githubusercontent.com/40693636/170830562-38e4c998-9af4-4303-9270-4f14e0942b08.png - - name: Vben-Admin - link: https://github.com/vbenjs/vue-vben-admin - icon: https://user-images.githubusercontent.com/40693636/178189964-931a1fc2-92df-4d04-8d0d-b748fc318c0a.png + - name: Vben-Admin + link: https://github.com/vbenjs/vue-vben-admin + icon: https://user-images.githubusercontent.com/40693636/178189964-931a1fc2-92df-4d04-8d0d-b748fc318c0a.png - - name: Vue3-Antd-Admin - link: https://github.com/buqiyuan/vue3-antd-admin - icon: https://user-images.githubusercontent.com/40693636/170830597-31d6f0d7-2c93-491b-a984-7bf21db8f75b.png + - name: Vue3-Antd-Admin + link: https://github.com/buqiyuan/vue3-antd-admin + icon: https://user-images.githubusercontent.com/40693636/170830597-31d6f0d7-2c93-491b-a984-7bf21db8f75b.png