vuepress / core

Vue-Powered Static Site Generator
https://vuepress.vuejs.org
MIT License
2.29k stars 925 forks source link

[Bug report] External Link in sidebar is broken. #1301

Closed bennyhuo closed 1 year ago

bennyhuo commented 1 year ago

Description

SideBar value:

{
  '/': [
    { text: '网站首页', link: 'https://www.bennyhuo.com', children: [] },
    '',
    ...
  ]
}

And the generated link is something like: 'https://www.bennyhuo.com/book/https://www.bennyhuo.com'.

Reproduction

https://www.bennyhuo.com/book/

Used Package Manager

npm

System Info

System:
    OS: macOS 13.0
    CPU: (8) arm64 Apple M1
    Memory: 79.88 MB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.15.1 - ~/.nvm/versions/node/v16.15.1/bin/node
    Yarn: Not Found
    npm: 8.11.0 - ~/.nvm/versions/node/v16.15.1/bin/npm
  Utilities:
    Git: 2.37.1 - /usr/bin/git
  Browsers:
    Chrome: Not Found
    Edge: Not Found
    Firefox: Not Found
    Safari: 16.1
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.61 
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-beta.61 
    @vuepress/client:  2.0.0-beta.61 
    @vuepress/core:  2.0.0-beta.61 
    @vuepress/markdown:  2.0.0-beta.61 
    @vuepress/plugin-active-header-links:  2.0.0-beta.61 
    @vuepress/plugin-back-to-top:  2.0.0-beta.61 
    @vuepress/plugin-container:  2.0.0-beta.61 
    @vuepress/plugin-docsearch: Not Found
    @vuepress/plugin-external-link-icon:  2.0.0-beta.61 
    @vuepress/plugin-git:  2.0.0-beta.61 
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom:  2.0.0-beta.61 
    @vuepress/plugin-nprogress:  2.0.0-beta.61 
    @vuepress/plugin-palette:  2.0.0-beta.61 
    @vuepress/plugin-prismjs:  2.0.0-beta.61 
    @vuepress/plugin-pwa: Not Found
    @vuepress/plugin-pwa-popup: Not Found
    @vuepress/plugin-register-components: Not Found
    @vuepress/plugin-search: Not Found
    @vuepress/plugin-shiki: Not Found
    @vuepress/plugin-theme-data:  2.0.0-beta.61 
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.61 
    @vuepress/theme-default:  2.0.0-beta.61 
    @vuepress/utils:  2.0.0-beta.61 
    vue:  3.2.47 
    vue-loader: Not Found
    vue-router:  4.1.6 
    vuepress: 2.0.0-beta.61 => 2.0.0-beta.61 
    vuepress-vite:  2.0.0-beta.61 
    vuepress-webpack: Not Found
github-actions[bot] commented 1 year ago

Hello @bennyhuo. This issue is marked as invalid and closed. Please follow the issue template.

Mister-Hope commented 1 year ago

You are not using the default theme