\r\n\r\n::: zh-CN\r\n中文\r\n:::\r\n\r\n::: en\r\nEnglish\r\n:::\r\n```\r\n\r\nThis reduces maintenance costs.\r\n\r\nI came up with a very low cost implementation - [CSS-I18N](https://github.com/valaxyjs/css-i18n)\r\nAnd I implemented it in my own project [valaxy](https://github.com/YunYouJun/valaxy).\r\n\r\nIt works well. You can preview it [here](https://valaxy.site/guide/i18n).\r\nAnd this is my implementation: [How to realize CSS i18n?](https://valaxy.site/posts/i18n#css-i18n-another-solution)\r\n\r\n---\r\n\r\nIt is very cost-effective and I hope to integrate it with vitepress.\r\nIf you agree with my proposal, please let me know and I can create a PR for vitepress.\r\n\r\n### Describe alternatives you've considered\r\n\r\n_No response_\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.dev).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[2916],{"name":2871,"color":2872},3047,"CSS i18n in one page","2025-03-02T18:10:37Z","https://github.com/vuejs/vitepress/issues/3047",0.77030325,{"description":2923,"labels":2924,"number":2925,"owner":2874,"repository":2875,"state":2926,"title":2927,"updated_at":2928,"url":2929,"score":2930},"https://github.com/vuejs/vitepress/blob/e6f9dd33c73411ded5461670f68ed4fe8c5923fa/src/node/plugin.ts#L405-L408\r\n\r\nthis doesn't consider rewrites",[],4172,"closed","watchers not being triggered on data updates in pages with rewrites","2024-09-09T04:43:00Z","https://github.com/vuejs/vitepress/issues/4172",0.72950315,{"description":2932,"labels":2933,"number":2935,"owner":2874,"repository":2875,"state":2926,"title":2936,"updated_at":2937,"url":2938,"score":2939},"### Is your feature request related to a problem? Please describe.\r\n\r\nSocial networks available are hard coded, so we can not include new one (such as dribble, gitlab, envato, ...) \r\n\r\n```ts\r\ntype SocialLinkIcon =\r\n | 'discord'\r\n | 'facebook'\r\n | 'github'\r\n | 'instagram'\r\n | 'linkedin'\r\n | 'slack'\r\n | 'twitter'\r\n | 'youtube'\r\n```\r\n\r\n\r\n### Describe the solution you'd like\r\n\r\nThat would be great if we can add link with icons from https://icones.js.org/ or from custom component\r\n\r\n### Describe alternatives you've considered\r\n\r\n_No response_\r\n\r\n### Additional context\r\n\r\n_No response_\r\n\r\n### Validations\r\n\r\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\r\n- [X] Read the [docs](https://vitepress.vuejs.org).\r\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\r\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[2934],{"name":2895,"color":2896},738,"Add option to extends social links","2023-01-21T14:30:17Z","https://github.com/vuejs/vitepress/issues/738",0.7445738,{"description":2941,"labels":2942,"number":2944,"owner":2874,"repository":2875,"state":2926,"title":2945,"updated_at":2946,"url":2947,"score":2948},"### Is your feature request related to a problem? Please describe.\n\nI want user `h1` as my article outline, i can't use theme config to custom my outline\n\n### Describe the solution you'd like\n\nif i have config in my config.js\r\n```js\r\n themeConfig: {\r\n outline: [1,6] || 'all'\r\n}\r\n```\r\nthe title selector should like this\r\n```js\r\ndocument\r\n .querySelectorAll\u003CHTMLHeadingElement>('h1,h2, h3, h4, h5, h6') // include h1 title\r\n .forEach((el) => {\r\n if (el.textContent && el.id) {\r\n updatedHeaders.push({\r\n level: Number(el.tagName[1]),\r\n title: el.innerText.replace(/\\s+#\\s*$/, ''),\r\n link: `#${el.id}`\r\n })\r\n }\r\n })\r\n```\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[2943],{"name":2895,"color":2896},1529,"The levels of header to display in the outline can't support h1 title","2023-08-12T00:04:14Z","https://github.com/vuejs/vitepress/issues/1529",0.74804884,{"description":2950,"labels":2951,"number":2955,"owner":2874,"repository":2875,"state":2926,"title":2956,"updated_at":2957,"url":2958,"score":2959},"### Describe the bug\n\nI have the following `index.md` home page:\r\n\r\n```yml\r\n---\r\nlayout: home\r\nhero:\r\n name: DMSI\r\n text: DESARROLLO Y MANTENIMIENTO DE SISTEMAS DE INFORMACIÓN\r\n tagline: Curso 22/23\r\n image:\r\n src: /assets/images/logo-ull.png\r\n alt: DMSI\r\n actions:\r\n - theme: brand\r\n text: Get Started\r\n link: /temas/tema0-presentacion/\r\n - theme: alt\r\n text: View on GitHub\r\n link: https://github.com/ULL-ESIT-DMSI/vitepress-getting-started\r\nfeatures:\r\n - icon: ⚡️\r\n title: Vite, The DX that can't be beat\r\n details: Lorem ipsum...\r\n - icon: 🖖\r\n title: Power of Vue meets Markdown\r\n details: Lorem ipsum...\r\n - icon: 🛠️\r\n title: Simple and minimal, always\r\n details: Lorem ipsum...\r\n---\r\n```\r\n\r\nThough the logo image specified in `hero.image.src` is there:\r\n\r\n```\r\n docs git:(main) git ls-files assets/images \r\nassets/images/logo-ull.png\r\n```\r\n\r\nand the `yarn docs:dev` visualizes the image correctly, when I do a `docs:build` followed by a `docs:serve` the image is not found:\r\n\r\n\u003Cimg width=\"1081\" alt=\"Captura de Pantalla 2022-09-12 a las 13 57 44\" src=\"https://user-images.githubusercontent.com/1142554/189660241-a1211eec-a805-4a65-866c-747375488a9d.png\">\r\n\r\nThe repo is here [ULL-ESIT-DMSI/vitepress-getting-started](\r\nhttps://github.com/ULL-ESIT-DMSI/vitepress-getting-started/tree/1f0a5905f6a0fec9da28ec94c888b41e8a0945a3) at commit `1f0a5905f6a0fec9da28ec94c888b41e8a0945a3`\n\n### Reproduction\n\nClone the repo \r\n\r\n [ULL-ESIT-DMSI/vitepress-getting-started](\r\nhttps://github.com/ULL-ESIT-DMSI/vitepress-getting-started/tree/1f0a5905f6a0fec9da28ec94c888b41e8a0945a3) at commit `1f0a5905f6a0fec9da28ec94c888b41e8a0945a3`\n\n### Expected behavior\n\nExpect the image to be found at built time\n\n### System Info\n\n```shell\n✗ npx envinfo --system --npmPackages vitepress --binaries --browsers\r\nNeed to install the following packages:\r\n envinfo@7.8.1\r\nOk to proceed? (y) y\r\n\r\n System:\r\n OS: macOS 12.5.1\r\n CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz\r\n Memory: 15.75 MB / 16.00 GB\r\n Shell: 5.8.1 - /bin/zsh\r\n Binaries:\r\n Node: 18.8.0 - ~/.nvm/versions/node/v18.8.0/bin/node\r\n Yarn: 1.22.17 - ~/.nvm/versions/node/v16.0.0/bin/yarn\r\n npm: 8.18.0 - ~/.nvm/versions/node/v18.8.0/bin/npm\r\n Browsers:\r\n Chrome: 105.0.5195.102\r\n Edge: 105.0.1343.33\r\n Firefox: 103.0.1\r\n Safari: 15.6.1\r\n```\n```\n\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2952],{"name":2953,"color":2954},"bug: pending triage","e99695",1326,"In home layout the hero.image.src attribute is not translated ","2023-01-21T14:25:32Z","https://github.com/vuejs/vitepress/issues/1326",0.7481372,{"description":2961,"labels":2962,"number":2964,"owner":2874,"repository":2875,"state":2926,"title":2965,"updated_at":2966,"url":2967,"score":2968},"### Is your feature request related to a problem? Please describe.\n\nWhen a sidebar group is collapsed, it will not auto open even if the user enter a doc inside it. This doesn't match the user's expectation in most cases. \n\n### Describe the solution you'd like\n\nAuto opening the collapsed sidebar when user enter any doc of the group.\r\n\r\neg.\r\n\r\nlet's assume there is a group named \"Collection A\" with a doc \"Doc A\" inside it. By default it's collapsed.\r\n```\r\nCollection A +\r\n```\r\n\r\nUser visit \"Doc A\" from somewhere. The \"Collection A\" is auto opened, and \"Doc A\" is activated.\r\n```\r\nCollection A -\r\nDoc A\r\nDoc B\r\n...\r\n```\n\n### Describe alternatives you've considered\n\n_No response_\n\n### Additional context\n\n_No response_\n\n### Validations\n\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.vuejs.org).\n- [X] Read the [Contributing Guidelines](https://github.com/vuejs/vitepress/blob/main/.github/contributing.md).\n- [X] Check that there isn't already an issue that asks for the same feature to avoid creating a duplicate.",[2963],{"name":2895,"color":2896},952,"Add support for auto opening the collapsed sidebar group when user enter any doc inside it","2023-01-21T14:28:58Z","https://github.com/vuejs/vitepress/issues/952",0.75244266,["Reactive",2970],{},["Set"],["ShallowReactive",2973],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fsCgXnwtcQ3yqW-oYnzfzLRhSzU2yW71MGPMheeaZ7MA":-1},"/vuejs/vitepress/962"]