\r\n```yaml\r\n // algolia搜索\r\n search: {\r\n provider: 'algolia',\r\n options: {\r\n appId: 'xxxxx',\r\n apiKey: 'xxxxx',\r\n indexName: 'xxxxxx'\r\n }\r\n },",[],2944,"\"Algolia Search\" cannot jump to the page","2023-09-21T00:04:13Z","https://github.com/vuejs/vitepress/issues/2944",0.72130334,{"description":3070,"labels":3071,"number":3075,"owner":3026,"repository":3027,"state":3028,"title":3076,"updated_at":3077,"url":3078,"score":3079},"### Discussed in https://github.com/vuejs/vitepress/discussions/1368\r\n\r\n\u003Cdiv type='discussions-op-text'>\r\n\r\n\u003Csup>Originally posted by **Zogsha** September 19, 2022\u003C/sup>\r\nHi, thanks for your work on vitepress!\r\n\r\nMy documentation site is written in French, so I need the Docsearch component in French.\r\n\r\nI have two problems :\r\n\r\n1. There is a `algolia.buttonText` option in `themeConfig`. I set it to \"Rechercher\" instead of the default \"Search\", but whenever I click on the search component or use \"CTRL+K\", the placeholder turns back to \"Search\". It only displays \"Rechercher\" when the page refreshes. I only tested in dev.\r\n\r\n2. In the Docsearch API Reference, there is `translations` option (https://docsearch.algolia.com/docs/api#translations). I can't figure out how to configure it.\r\n\r\nI think __1.__ is not intended, but I didn't look further. Is __2.__ intended ? If that is the case, do you plan to let us translate the Doscsearch modal via `algolia` config in `themeConfig`?\r\n\r\nThanks,\r\nAliosha\u003C/div>",[3072],{"name":3073,"color":3074},"theme","0754FB",1381,"[i18n] allow translating docsearch labels","2023-01-25T00:04:21Z","https://github.com/vuejs/vitepress/issues/1381",0.723827,{"description":3081,"labels":3082,"number":3086,"owner":3026,"repository":3027,"state":3028,"title":3087,"updated_at":3088,"url":3089,"score":3090},"### Describe the bug\r\n\r\nThe search button and dialog should use semantic markup: roles and aria attributes\r\n\r\n### Reproduction\r\n\r\nhttps://unocss.dev/\r\n\r\n### Expected behavior\r\n\r\nJust check Algolia search button and dialog on VP docs.\r\n\r\n### System Info\r\n\r\n```shell\r\nNA\r\n```\r\n\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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[3083],{"name":3084,"color":3085},"a11y","fbca04",2232,"Local search: review html markup, should be semantic","2023-06-18T00:04:56Z","https://github.com/vuejs/vitepress/issues/2232",0.7260048,{"description":3092,"labels":3093,"number":3094,"owner":3026,"repository":3027,"state":3028,"title":3095,"updated_at":3096,"url":3097,"score":3098},"### Describe the bug\n\nClicking \"Take me home\" on the 404 page takes me to the home page (`/`), but the page is empty until I refresh. There are no errors in the console or network requests.\n\n### Reproduction\n\nI wasn't able to reproduce this on vitepress.new or in development mode, but it does reproduce with `pnpm docs:build && pnpm docs:serve` and the following configs:\r\n\r\n`docs/.vitepress/config.js`:\r\n```js\r\nexport default {\r\n title: 'OrbStack Docs',\r\n titleTemplate: ':title · OrbStack Docs',\r\n description: 'Say goodbye to slow, clunky containers and VMs.',\r\n themeConfig: {\r\n logo: '/img/logo64.png',\r\n socialLinks: [\r\n { icon: 'twitter', link: 'https://twitter.com/orbstack' },\r\n { icon: 'github', link: 'https://github.com/orbstack' },\r\n { icon: 'discord', link: 'https://discord.gg/Tfjyd5N5Eq' },\r\n ],\r\n footer: {\r\n copyright: '© 2023 Orbital Labs, LLC',\r\n },\r\n nav: [\r\n { text: 'Overview', link: '/' },\r\n { text: 'Docker', link: '/docker/' },\r\n { text: 'Linux', link: '/machines/' },\r\n { text: 'Install', link: '/quick-start' },\r\n { text: 'Demo', link: 'https://orbstack.dev/' },\r\n ],\r\n sidebar: [\r\n {\r\n text: 'Get started',\r\n collapsed: false,\r\n items: [\r\n { text: 'Home', link: '/' },\r\n { text: 'Features', link: '/features' },\r\n { text: 'Quick start', link: '/quick-start'},\r\n { text: 'Frequently asked questions', link: '/faq' },\r\n { text: \"What's new\", link: '/release-notes' },\r\n ],\r\n },\r\n {\r\n text: 'Learn more',\r\n collapsed: false,\r\n items: [\r\n { text: 'Install', link: '/install'},\r\n { text: 'Efficiency', link: '/efficiency' },\r\n { text: 'Benchmarks', link: '/benchmarks' },\r\n { text: 'Architecture', link: '/architecture' },\r\n { text: 'Settings', link: '/settings' },\r\n { text: 'Headless & CI', link: '/headless' },\r\n { text: 'Older versions', link: '/downgrade' },\r\n ],\r\n },\r\n {\r\n text: 'Docker containers',\r\n collapsed: false,\r\n items: [\r\n { text: 'Using Docker containers', link: '/docker/' },\r\n { text: 'Network', link: '/docker/network' },\r\n { text: 'Volumes & mounts', link: '/docker/file-sharing' },\r\n { text: 'Domain names', link: '/docker/domains' },\r\n ],\r\n },\r\n {\r\n text: 'Kubernetes',\r\n collapsed: false,\r\n items: [\r\n { text: 'Using Kubernetes', link: '/kubernetes/' },\r\n ]\r\n },\r\n {\r\n text: 'Linux machines',\r\n collapsed: false,\r\n items: [\r\n { text: 'Using Linux machines', link: '/machines/'},\r\n { text: 'Commands', link: '/machines/commands' },\r\n { text: 'Network', link: '/machines/network' },\r\n { text: 'File sharing', link: '/machines/file-sharing' },\r\n { text: 'SSH', link: '/machines/ssh' },\r\n { text: 'Distributions', link: '/machines/distros' },\r\n ],\r\n },\r\n {\r\n text: 'Compare',\r\n collapsed: false,\r\n items: [\r\n { 'text': 'Docker Desktop', link: '/compare/docker-desktop' },\r\n { 'text': 'Colima', link: '/compare/colima' },\r\n { 'text': 'UTM', link: '/compare/utm' },\r\n ],\r\n }\r\n ],\r\n algolia: {\r\n appId: 'xxx',\r\n apiKey: 'xxx',\r\n indexName: 'orbstack'\r\n },\r\n },\r\n cleanUrls: true,\r\n head: [\r\n ['script', { async: '', defer: '', src: 'https://orbstack.dev/js/xxx.js' }],\r\n ['link', { rel: 'icon', sizes: '64x64', href: '/img/logo64.png' }],\r\n ['link', { rel: 'shortcut icon', href: '/img/logo128.png' }],\r\n ['link', { rel: 'apple-touch-icon', href: '/img/logo128.png' }],\r\n ]\r\n}\r\n```\r\n\r\nindex.md:\r\n```markdown\r\n# What is OrbStack?\r\n\r\n[OrbStack](https://orbstack.dev) is a fast, light, and simple way to run containers and Linux machines on macOS. It's a supercharged alternative to Docker Desktop and WSL, all in one easy-to-use app.\r\n\r\nKeep reading to learn more, or [get started](quick-start.md) right away.\r\n# What is OrbStack?\r\n\r\n[OrbStack](https://orbstack.dev) is a fast, light, and simple way to run containers and Linux machines on macOS. It's a supercharged alternative to Docker Desktop and WSL, all in one easy-to-use app.\r\n\r\nKeep reading to learn more, or [get started](quick-start.md) right away.# What is OrbStack?\r\n\r\n[OrbStack](https://orbstack.dev) is a fast, light, and simple way to run containers and Linux machines on macOS. It's a supercharged alternative to Docker Desktop and WSL, all in one easy-to-use app.\r\n\r\nKeep reading to learn more, or [get started](quick-start.md) right away.# What is OrbStack?\r\n\r\n[OrbStack](https://orbstack.dev) is a fast, light, and simple way to run containers and Linux machines on macOS. It's a supercharged alternative to Docker Desktop and WSL, all in one easy-to-use app.\r\n\r\nKeep reading to learn more, or [get started](quick-start.md) right away.# What is OrbStack?\r\n\r\n[OrbStack](https://orbstack.dev) is a fast, light, and simple way to run containers and Linux machines on macOS. It's a supercharged alternative to Docker Desktop and WSL, all in one easy-to-use app.\r\n\r\nKeep reading to learn more, or [get started](quick-start.md) right away.# What is OrbStack?\r\n\r\n[OrbStack](https://orbstack.dev) is a fast, light, and simple way to run containers and Linux machines on macOS. It's a supercharged alternative to Docker Desktop and WSL, all in one easy-to-use app.\r\n\r\nKeep reading to learn more, or [get started](quick-start.md) right away.\r\n```\r\n\r\nThe issue doesn't occur with a short index.md, so I had to copy and paste the text to reproduce it.\n\n### Expected behavior\n\nHome page appears.\n\n### System Info\n\n```sh\nSystem:\r\n OS: macOS 13.5.1\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 1.25 GB / 64.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 20.5.1 - /opt/homebrew/bin/node\r\n Yarn: 1.22.19 - /opt/homebrew/bin/yarn\r\n npm: 9.8.0 - /opt/homebrew/bin/npm\r\n pnpm: 8.6.6 - /opt/homebrew/bin/pnpm\r\n Browsers:\r\n Chrome: 116.0.5845.140\r\n Safari: 16.6\r\n npmPackages:\r\n vitepress: 1.0.0-rc.10 => 1.0.0-rc.10\n```\n\n\n### Additional context\n\n\r\n\n\n### Validations\n\n- [X] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\n- [X] Follow our [Code of Conduct](https://vuejs.org/about/coc.html)\n- [X] Read the [docs](https://vitepress.dev).\n- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[],2891,"Empty home page after following link from 404 page","2023-09-23T00:04:03Z","https://github.com/vuejs/vitepress/issues/2891",0.7276409,{"description":3100,"labels":3101,"number":3102,"owner":3026,"repository":3027,"state":3028,"title":3103,"updated_at":3104,"url":3105,"score":3106},"> vitepress v2.0.0-alpha.6\n\n我参考文档 和 config.ts 配置 markdown 。。\n\n添加 `[.vitepress/config.js]`,但是没有官网文档一样的展示效果 \n\n```\n> ```js [.vitepress/config.js]\n> export default {\n> // site-level options\n> title: 'VitePress',\n> description: 'Just playing around.',\n> \n> themeConfig: {\n> // theme-level options\n> }\n> }\n> ```\n> \n```",[],4806,"Markdown code file 配置问题","2025-06-22T04:07:34Z","https://github.com/vuejs/vitepress/issues/4806",0.7327794,{"description":3108,"labels":3109,"number":3110,"owner":3026,"repository":3027,"state":3028,"title":3111,"updated_at":3112,"url":3113,"score":3114},"\u003C!--\r\nNOTE:\r\nVitePress is still WIP, and it is not compatible with VuePress.\r\nPlease do not open issue about default theme missing features or something doesn't work like VuePress.\r\n-->\r\n\r\n**Describe the bug**\r\nBetween screen sizes `720px` and `751px`, the search field is collapsed, but still takes up the space of the expanded version:\r\n\r\n\u003Cimg width=\"500\" alt=\"Screenshot of VitePress homepage\" src=\"https://user-images.githubusercontent.com/45149421/109382325-0c577e00-78e0-11eb-8092-25cf95d98c9e.png\">\r\n\r\nThis issue seems to be baked into the VitePress default theme.\r\n\r\n**To Reproduce**\r\nSteps to reproduce the behavior: \r\n1. Open a device with screen width larger than `800px` (laptop or desktop).\r\n2. Visit any VitePress site (example: https://vitepress.vuejs.org).\r\n3. Slowly resize the browser window, paying special attention when getting to the `751px` threshold.\r\n4. Done.\r\n\r\n**Expected behavior**\r\nA clear and concise description of what you expected to happen.\r\n\r\nThe search field should only collapse at screen sizes smaller than `720px`.\r\n\r\n**System Info**\r\n- vitepress version: 0.12.2\r\n- vite version: unknown for https://vitepress.vuejs.org, `2.0.3` for local reproduction.\r\n- Node version: unknown for https://vitepress.vuejs.org, `15.10.0` for local reproduction.\r\n- OS version: unknown for https://vitepress.vuejs.org, MacOS 11.1 for local reproduction.\r\n\r\n**Additional context**\r\nAdd any other context about the problem here.\r\n\r\nFrom https://github.com/vuejs/vitepress/blob/master/src/client/theme-default/components/AlgoliaSearchBox.vue:\r\n``` js\r\n@media (min-width: 720px) {\r\n .algolia-search-box {\r\n padding-left: 8px;\r\n min-width: 176.3px; /* avoid layout shift */\r\n }\r\n}\r\n@media (min-width: 751px) {\r\n .algolia-search-box {\r\n padding-left: 8px;\r\n }\r\n .algolia-search-box .DocSearch-Button-Placeholder {\r\n padding-left: 8px;\r\n font-size: 0.9rem;\r\n font-weight: 500;\r\n }\r\n}\r\n```\r\n\r\nI still don't quite understand the purpose of the `@media (min-width: 751px) {...}`, since in other default theme components, the screen width breakpoint is at `720px`, but it seems to me that combining the two media queries should solve the problem.\r\n\r\nAnother solution might be to simply move the `min-width: 176.3px;` under the `@media (min-width: 751px) {...)` section.\r\n\r\n",[],250,"Algolia search field collapse behaviour","2023-01-21T16:22:23Z","https://github.com/vuejs/vitepress/issues/250",0.7335003,["Reactive",3116],{},["Set"],["ShallowReactive",3119],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f6wjEIJ-IOYNX-67Gfs6qynI3zfuZTN8SDvClffOMUcw":-1},"/vuejs/vitepress/4802"]