\r\n\r\n### Describe the solution you'd like\r\n\r\nError or warn when using a non-supported custom container.\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.",[2865,2868],{"name":2866,"color":2867},"build","377ba8",{"name":2869,"color":2870},"stale","ededed",4428,"vuejs","vitepress","open","Build error or warning when using non-supported custom container","2025-03-02T18:07:57Z","https://github.com/vuejs/vitepress/issues/4428",0.74055505,{"description":2880,"labels":2881,"number":2883,"owner":2872,"repository":2873,"state":2874,"title":2884,"updated_at":2885,"url":2886,"score":2887},"### Is your feature request related to a problem? Please describe.\n\nRight now, the last updated detection spawns a new git process for every single file that needs to be checked. I have a lot of files. That adds a good 30 seconds to the build time.\n\n### Describe the solution you'd like\n\nUse nodegit, which is a re implementation of git in NodeJS.\n\n### Describe alternatives you've considered\n\nWaiting the extra 30 seconds each time. But that's lame.\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.dev).\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.",[2882],{"name":2869,"color":2870},2645,"Use nodegit for last updated detection","2023-09-16T08:11:06Z","https://github.com/vuejs/vitepress/issues/2645",0.7409789,{"description":2889,"labels":2890,"number":2893,"owner":2872,"repository":2873,"state":2874,"title":2894,"updated_at":2895,"url":2896,"score":2897},"### Describe the bug\n\nwhen I used js-vue, I encountered a function return result error.\n\n### Reproduction\n\n\r\n\r\nerror result: return 3 & 4\r\n\r\n\r\nbut when i use the copy btn, this result is true\n\n### Expected behavior\n\nreturn 1 & 2\r\n\r\n\r\n\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 10 10.0.19045\r\n CPU: (8) x64 Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz\r\n Memory: 5.76 GB / 15.85 GB\r\n Binaries:\r\n Node: 16.17.0 - ~\\AppData\\Local\\fnm_multishells\\2812_1696337629626\\node.EXE\r\n Yarn: 1.22.19 - ~\\AppData\\Local\\fnm_multishells\\2812_1696337629626\\yarn.CMD\r\n npm: 8.15.0 - ~\\AppData\\Local\\fnm_multishells\\2812_1696337629626\\npm.CMD \r\n pnpm: 8.6.0 - E:\\Program Files\\nodejs\\pnpm.CMD\r\n Browsers:\r\n Edge: Spartan (44.19041.1266.0), Chromium (117.0.2045.47)\r\n Internet Explorer: 11.0.19041.1566\r\n npmPackages:\r\n vitepress: 1.0.0-rc.20 => 1.0.0-rc.20\n```\n\n\n### Additional context\n\n_No response_\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,2892],{"name":2866,"color":2867},{"name":2869,"color":2870},3045,"Problems with function result display when using Vue","2023-11-06T14:43:50Z","https://github.com/vuejs/vitepress/issues/3045",0.7633675,{"description":2899,"labels":2900,"number":2902,"owner":2872,"repository":2873,"state":2874,"title":2903,"updated_at":2904,"url":2905,"score":2906},"### Describe the bug\n\nWhen browser width is between 840px and 770px, a horizontal scrollbar appears when there are too many items.\n\n### Reproduction\n\n- Add 10 items or more to your `nav` in `themeConfig`.\r\n- Resize your browser to any width between 840px and 770px.\r\n- Observe the horizontal scrollbar.\n\n### Expected behavior\n\nSidebar items should overflow in an overflow menu.\n\n### System Info\n\n```sh\nBinaries:\r\n Node: 19.6.1 - J:\\nodejs\\node.EXE\r\n npm: 9.4.0 - J:\\nodejs\\npm.CMD\r\n pnpm: 8.6.12 - C:\\users\\(redacted for PII)\\Downloads\\pnpm.EXE\r\nBrowsers:\r\n Edge: Spartan (44.22621.2199.0), Chromium (116.0.1938.54), ChromiumDev (117.0.2045.1)\r\n Internet Explorer: 11.0.22621.1\n```\n\n\n### Additional context\n\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.",[2901],{"name":2869,"color":2870},2842,"When browser width is between 840px and 770px a horizontal scrollbar appears when there are too many items","2023-09-25T18:21:51Z","https://github.com/vuejs/vitepress/issues/2842",0.7647494,{"description":2908,"labels":2909,"number":2910,"owner":2872,"repository":2873,"state":2911,"title":2912,"updated_at":2913,"url":2914,"score":2915},"### Describe the bug\n\n| 属性 | 默认值 | 说明 | 对应组件 |\r\n| ------------- | :-----------: | ----: | ----: |\r\n| col 3 is | right-aligneright-alignedright-alignedright-alignedright-alignedright-alignedright-alignedright-alignedright-alignedright-alignedright-alignedright-alignedright-alignedright-alignedd | $1600 | $1600 |\n\n### Reproduction\n\n内容换行后就报错:componentStyles.md?import&t=1689578052281:23 DOMException: Failed to execute 'setAttribute' on 'Element': '6' is not a valid attribute name.\n\n### Expected behavior\n\n内容换行后就报错:componentStyles.md?import&t=1689578052281:23 DOMException: Failed to execute 'setAttribute' on 'Element': '6' is not a valid attribute name.\n\n### System Info\n\n```sh\nwin11 edge浏览器\n```\n\n\n### Additional context\n\n_No response_\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.",[],2634,"closed","表格内容换行后页面就报错","2023-07-26T00:04:27Z","https://github.com/vuejs/vitepress/issues/2634",0.72468275,{"description":2917,"labels":2918,"number":2922,"owner":2872,"repository":2873,"state":2911,"title":2923,"updated_at":2924,"url":2925,"score":2926},"### Describe the bug\n\nif I use \"/\" character end of url, sidebar and middle page not working normally.\n\n### Reproduction\n\ncheck this error\r\nhttps://stackblitz.com/edit/vite-9jamew\r\n\r\nif you see error, add to `\u003Cstackblitz test url>/en/test/` and enter. 404 page coming. \r\nbut `\u003Cstackblitz test url>/en/test` like this working.\n\n### Expected behavior\n\nneed to work normally. 404 page is wrong.\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22631\r\n CPU: (12) x64 Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz\r\n Memory: 2.38 GB / 15.87 GB\r\n Binaries:\r\n Node: 18.18.2 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.22 - C:\\Program Files\\nodejs\\yarn.CMD\r\n npm: 9.8.1 - C:\\Program Files\\nodejs\\npm.CMD\r\n pnpm: 8.6.1 - ~\\AppData\\Roaming\\npm\\pnpm.CMD\r\n Browsers:\r\n Edge: Chromium (122.0.2365.59)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: ^1.1.3 => 1.1.3\n```\n\n\n### Additional context\n\nnginx conf like\r\n\r\n```\r\nserver {\r\n gzip on;\r\n gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;\r\n\r\n listen 80;\r\n server_name _;\r\n index index.html;\r\n\r\n location / {\r\n # content location\r\n root /app;\r\n\r\n # exact matches -> reverse clean urls -> folders -> not found\r\n try_files $uri $uri.html $uri/ =404;\r\n\r\n # non existent pages\r\n error_page 404 /404.html;\r\n\r\n # a folder without index.html raises 403 in this setup\r\n error_page 403 /404.html;\r\n\r\n # adjust caching headers\r\n # files in the assets folder have hashes filenames\r\n location ~* ^/assets/ {\r\n expires 1y;\r\n add_header Cache-Control \"public, immutable\";\r\n }\r\n }\r\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.",[2919],{"name":2920,"color":2921},"bug: pending triage","e99695",3832,"page render error","2024-05-05T04:41:46Z","https://github.com/vuejs/vitepress/issues/3832",0.73611385,{"description":2928,"labels":2929,"number":2931,"owner":2872,"repository":2873,"state":2911,"title":2932,"updated_at":2933,"url":2934,"score":2935},"### Describe the bug\n\nApparently when I published my site to github pages it appeared like this. I'm not sure what I did wrong. I followed the documentation with the deploy.yml etc.\r\n\r\n\r\n\n\n### Reproduction\n\nI am not sure how you would reproduce this.\n\n### Expected behavior\n\nThis is what my site is supposed to look like:\r\n\r\n\r\n\n\n### System Info\n\n```Text\nSystem:\r\n OS: Windows 11 10.0.22631\r\n CPU: (16) x64 12th Gen Intel(R) Core(TM) i5-12500H\r\n Memory: 5.87 GB / 15.73 GB\r\n Binaries:\r\n Node: 20.10.0 - C:\\Program Files\\nodejs\\node.EXE\r\n npm: 10.2.4 - C:\\Program Files\\nodejs\\npm.CMD\r\n Browsers:\r\n Edge: Chromium (120.0.2210.61)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.31 => 1.0.0-rc.31\n```\n\n\n### Additional context\n\n_No response_\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.",[2930],{"name":2920,"color":2921},3317,"VitePress site not working with Github pages","2023-12-22T00:04:31Z","https://github.com/vuejs/vitepress/issues/3317",0.73900056,{"description":2937,"labels":2938,"number":2940,"owner":2872,"repository":2873,"state":2911,"title":2941,"updated_at":2942,"url":2943,"score":2944},"### Describe the bug\r\n\r\nThe build and serve commands works but the dev doesn't.\r\n\r\n \r\n\r\n### Reproduction\r\n\r\nclone the [repo](https://github.com/emersonbottero/mermaid) \r\n- yarn build (you will get some post build error because I'm transitioning the documentation to vitepress)\r\n- yarn vdocs:build\r\n- yarn vdocs:serve (it works normally)\r\n- yarn vdocs:dev (it will thrown an error)\r\n\r\nThe error thrown is misleading in my opinion..\r\n\r\nUncaught TypeError: Cannot read properties of undefined (reading 'accept')\r\n at VPSkipLink.vue:37:3\r\n \r\n \r\n\r\n### Expected behavior\r\n\r\nthe error should point to the correct file?\r\nI'm sure is not a problem in VPSkipLink file.\r\nIs hard to debug without knowledge of vitepress internal logic \r\n\r\n### System Info\r\n\r\n```shell\r\nSystem:\r\n OS: Windows 10 10.0.22621\r\n CPU: (8) x64 Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz\r\n Memory: 8.47 GB / 15.92 GB\r\n Binaries:\r\n Node: 16.13.2 - C:\\Program Files\\nodejs\\node.EXE\r\n Yarn: 1.22.5 - ~\\AppData\\Roaming\\npm\\yarn.CMD\r\n npm: 8.1.3 - ~\\AppData\\Roaming\\npm\\npm.CMD\r\n Browsers:\r\n Chrome: 105.0.5195.127\r\n Edge: Spartan (44.22621.601.0), Chromium (105.0.1343.50)\r\n Internet Explorer: 11.0.22621.1\r\n npmPackages:\r\n vitepress: ^1.0.0-alpha.15 => 1.0.0-alpha.15\r\n```\r\n\r\n\r\n### Additional context\r\n\r\nI'm convincing the mermaidjs team to update their documentation to use vitepress 😁.\r\nI created a repo from scratch first and it works without problem but in the mermaid repo this error may be a combination of the setting done in packaeg.json and tsconfig but! \r\n\r\nI think we really want anyone to be able to use vitepress to update any library out there (mission inspiration?? 😅) \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] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.",[2939],{"name":2866,"color":2867},1395,"Not easy to debug error only in dev mode","2023-01-21T14:25:16Z","https://github.com/vuejs/vitepress/issues/1395",0.748514,{"description":2946,"labels":2947,"number":2951,"owner":2872,"repository":2873,"state":2911,"title":2952,"updated_at":2953,"url":2954,"score":2955},"### Is your feature request related to a problem? Please describe.\r\nyes\r\n\r\n### Describe the solution you'd like\r\n\r\n```json\r\n {\r\n \"text\":\"level1\",\r\n \"collapsible\":true,\r\n \"collapsed\":false,\r\n \"items\":[\r\n {\r\n \"text\":\"level1-1\",\r\n \"collapsible\":true,\r\n \"collapsed\":false,\r\n \"items\":[\r\n {\r\n \"text\":\"level1-1-1 \",\r\n \"link\":\"/01.1\"\r\n },\r\n {\r\n \"text\":\"level1-1-2 \",\r\n \"link\":\"/01.2\"\r\n }\r\n ]\r\n },\r\n {\r\n \"text\":\"level1-2\",\r\n \"collapsible\":true,\r\n \"collapsed\":false,\r\n \"items\":[\r\n {\r\n \"text\":\"level1-2-1 \",\r\n \"link\":\"/02.1\"\r\n },\r\n {\r\n \"text\":\"level1-2-2 \",\r\n \"link\":\"/02.2\"\r\n }\r\n ]\r\n }\r\n ]\r\n}\r\n\r\n```\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.",[2948],{"name":2949,"color":2950},"theme","0754FB",926,"Support multi-level sidebar","2023-01-21T14:30:11Z","https://github.com/vuejs/vitepress/issues/926",0.7502344,{"description":2957,"labels":2958,"number":2960,"owner":2872,"repository":2873,"state":2911,"title":2961,"updated_at":2962,"url":2963,"score":2964},"### Describe the bug\n\n[Disqus](https://bddxg.disqus.com/admin/install/platforms/universalcode/) 是一个不错的评论系统, 我期望它和 vitepress 合并后会给我的博客带来更好的阅读体验,\r\n[Disqus](https://bddxg.disqus.com/admin/install/platforms/universalcode/) is a good comment system, and I hope that the merger of it and vitepress will bring a better reading experience to my blog.\r\n\r\n事实上,我在 dev 环境下已经成功把 Disqus 带入了 layout 的插槽里:\r\nIn fact, I have successfully brought Disqus into the slot of layout in dev environment:\r\n\r\n\u003Cimg width=\"880\" alt=\"image\" src=\"https://github.com/vuejs/vitepress/assets/34816426/4b02c3d1-dfb0-43d8-b410-7a4627f4932c\">\r\n\r\n但是当我 build 的时候,编辑器产生了大量的错误,具体内容见尾部log:\r\nBut when I build, the editor produces a lot of errors. See the tail log for details.\r\n\r\n\r\n\r\n我自己不知道该怎么处理,希望能得到帮助,如果我提供的信息不够完善,可以随时联系我,谢谢!\r\nI do not know how to deal with it, hope to get help, if the information I provide is not perfect, you can contact me at any time, thank you!\r\n\r\n\r\n\n\n### Reproduction\n\n我在stickblitz 已经分享了代码 https://stackblitz.com/edit/vite-bdtuuc?file=docs%2F.vitepress%2Ftheme%2Findex.ts\r\nI have shared the code https://stackblitz.com/edit/vite-bdtuuc?file=docs%2F.vitepress%2Ftheme%2Findex.ts on stickblitz.\r\n\r\n但是它有点问题, 它好像无法渲染出Disqus的页面,我不知道是不是环境问题或者是网络请求被拦截了\r\nBut there's something wrong with it. It doesn't seem to be able to render the Disqus page. I don't know if it's an environmental problem or if the network request has been blocked.\r\n\r\n总之我操作的只有 2 个地方:\r\nIn short, there are only two places I operate:\r\n\r\n1. 创建了`docs/components/Discussion.vue`; 1. Created `docs/components/Discussion .vue`\r\n\r\n```html\r\n\u003Cscript setup>\r\nimport DefaultTheme from 'vitepress/theme'\r\n\r\nconst { Layout } = DefaultTheme\r\n;(function () {\r\n // DON'T EDIT BELOW THIS LINE\r\n var d = document,\r\n s = d.createElement('script')\r\n s.src = 'https://bddxg.disqus.com/embed.js'\r\n s.setAttribute('data-timestamp', +new Date())\r\n ;(d.head || d.body).appendChild(s)\r\n})()\r\n\u003C/script>\r\n\r\n\u003Ctemplate>\r\n \u003CLayout>\r\n \u003Ctemplate #doc-after>\r\n \u003Cbr />\r\n \u003Cbr />\r\n \u003Cdiv id=\"disqus_thread\">\u003C/div>\r\n \u003C/template>\r\n \u003C/Layout>\r\n\u003C/template>\r\n```\r\n2. 修改了`docs/.vitepress/theme/index.ts`; 2. Modified `docs/.vitepress/theme/index.ts`\r\n```ts\r\nimport DefaultTheme from 'vitepress/theme';\r\n\r\nimport Discussion from '../../components/Discussion.vue';\r\n\r\nexport default {\r\n ...DefaultTheme,\r\n Layout: Discussion,\r\n};\r\n```\n\n### Expected behavior\n\nvitepress 能够正常的和Disqus合并,并在生产环境正常工作\r\nVitepress can merge with Disqus normally and work normally in production environment.\n\n### System Info\n\n```sh\nSystem:\r\n OS: macOS 13.5\r\n CPU: (10) arm64 Apple M1 Max\r\n Memory: 1.38 GB / 32.00 GB\r\n Shell: 5.9 - /bin/zsh\r\n Binaries:\r\n Node: 18.16.0 - ~/Library/pnpm/node\r\n npm: 9.5.1 - ~/Library/pnpm/npm\r\n pnpm: 8.6.3 - ~/Library/pnpm/pnpm\r\n Browsers:\r\n Chrome: 115.0.5790.170\r\n Safari: 16.6\r\n npmPackages:\r\n vitepress: ^1.0.0-rc.4 => 1.0.0-rc.4\n```\n\n\n### Additional context\n\ngithub 提示我日志太长,我将日志分享到了谷歌网盘,地址:https://drive.google.com/file/d/13X8e_sFMtE09SNIXx8B5xm2ZUp0QIPD6/view?usp=drive_link\r\n\r\nGithub prompted me that the log was too long, and I shared the log to Google disk at https://drive.google.com/file/d/13X8e_sFMtE09SNIXx8B5xm2ZUp0QIPD6/view?usp=drive_link\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.",[2959],{"name":2920,"color":2921},2824,"Compilation failed after merging vitepress and Disqus, request help","2023-08-29T00:04:21Z","https://github.com/vuejs/vitepress/issues/2824",0.75088185,["Reactive",2966],{},["Set"],["ShallowReactive",2969],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$f2m60CblZgR6-rZNu_eYrDbFLreudTZP1KOPec0XQ5ZM":-1},"/vuejs/vitepress/1577"]