\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.",[3087],{"name":3043,"color":3044},2824,"Compilation failed after merging vitepress and Disqus, request help","2023-08-29T00:04:21Z","https://github.com/vuejs/vitepress/issues/2824",0.69568735,{"description":3094,"labels":3095,"number":3102,"owner":3023,"repository":3024,"state":3046,"title":3103,"updated_at":3104,"url":3105,"score":3106},"### Describe the bug\r\n\r\nIf I reference a PDF from a Markdown file like so:\r\n\r\n\r\n```md\r\nPlease see this [document](./doc.pdf)\r\n```\r\n\r\nAnd the `doc.pdf` lives in the same directory as the Markdown file, Vitepress does not process the PDF & add it to the `assetsDir` during build, resulting in `404` when the site is deployed. \r\n\r\nThe documentation on [Referencing Static Assets](https://vitepress.dev/guide/asset-handling#referencing-static-assets) seems to suggest it should. Am I missing something or is this not supported?\r\n\r\n(Right now I'm working round this by placing the file in the `/public` directory)\r\n\r\n### Reproduction\r\n\r\nExplained above.\r\n\r\n### Expected behavior\r\n\r\nI would expect the PDF to be available as an asset.\r\n\r\n### System Info\r\n\r\n```Text\r\nSystem:\r\n OS: Linux 6.5 Ubuntu 23.10 23.10 (Mantic Minotaur)\r\n CPU: (16) x64 Intel(R) Core(TM) i9-10885H CPU @ 2.40GHz\r\n Memory: 47.97 GB / 62.54 GB\r\n Container: Yes\r\n Shell: 5.2.15 - /bin/bash\r\n Binaries:\r\n Node: 20.11.0 - /usr/bin/node\r\n Yarn: 1.22.19 - /usr/bin/yarn\r\n npm: 10.2.4 - /usr/bin/npm\r\n pnpm: 8.6.12 - ~/.local/share/pnpm/pnpm\r\n Browsers:\r\n Chrome: 121.0.6167.139\r\n Chromium: 121.0.6167.85\r\n npmPackages:\r\n vitepress: 1.0.0-rc.40 => 1.0.0-rc.40\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] Check if you're on the [latest VitePress version](https://github.com/vuejs/vitepress/releases/latest).\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.",[3096,3099],{"name":3097,"color":3098},"docs","0075ca",{"name":3100,"color":3101},"contribution welcome","11E4B8",3535,"PDF not included in assets directory","2024-03-07T00:03:35Z","https://github.com/vuejs/vitepress/issues/3535",0.70336634,{"description":3108,"labels":3109,"number":3110,"owner":3023,"repository":3024,"state":3046,"title":3111,"updated_at":3112,"url":3113,"score":3114},"### Is your feature request related to a problem? Please describe.\r\n\r\nMultiple sidebars do not work with multiple locales\r\n\r\nMultiple sidebars work only for the root locale\r\n\r\n```js\r\nimport sidebar_es from \"./sidebar.es\";\r\nimport sidebar_en from \"./sidebar.en\";\r\nimport sidebar_subdir_es from \"./sidebar.subdir.es\";\r\nimport sidebar_subdir_en from \"./sidebar.subdir.en\";\r\n\r\nexport default defineConfig({\r\n locales: {\r\n root: {\r\n lang: \"sp\",\r\n label: \"Spanish\",\r\n themeConfig: {\r\n nav: nav_es,\r\n sidebar: {\r\n \"/\": sidebar_es,\r\n \"/subdir/\": sidebar_subdir_es,\r\n },\r\n },\r\n },\r\n en: {\r\n lang: \"en\",\r\n label: \"English\",\r\n themeConfig: {\r\n nav: nav_en,\r\n sidebar: {\r\n \"/\": sidebar_en,\r\n \"/subdir/\": sidebar_subdir_en,\r\n },\r\n },\r\n```\r\n\r\nIn this example `/en/subdir/` path shows default `sidebar_en` sidebar\r\n\r\n### Describe the solution you'd like\r\n\r\nMultiple sidebars should work for secondary locales\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.",[],3202,"i18n and multiple sidebars problem","2023-11-21T00:04:49Z","https://github.com/vuejs/vitepress/issues/3202",0.7034661,["Reactive",3116],{},["Set"],["ShallowReactive",3119],{"$fTRc1wZytZ_XrK4EfJfei_Sz-An4H4Yy6syhVxH_PVJc":-1,"$fm2AQDbqyqIaNYB8Tj7YcYTzd71vtJY4F217x8a_lAts":-1},"/vuejs/vitepress/3317"]