Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug report] Pressing Enter on the documentation search result is broken #1024

Closed
hustcer opened this issue Aug 12, 2022 · 0 comments
Closed
Labels
bug Something isn't working

Comments

@hustcer
Copy link

hustcer commented Aug 12, 2022

Description

@vuepress/plugin-docsearch may has a bug:

  1. open https://v2.vuepress.vuejs.org/
  2. <Ctrl-K> or <Cmd-K>
  3. Type some query (vite, for example)
  4. Press <Enter>

will redirect to link https://v2.vuepress.vuejs.org/https:%2F%2Fvuepress.github.io%2Freference%2Fbundler%2Fvite.html which is a 404 page

Reproduction

Described above

Used Package Manager

npm

System Info

System:
    OS: macOS 12.4
    CPU: (8) x64 Intel(R) Core(TM) i5-8257U CPU @ 1.40GHz
    Memory: 79.48 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 14.19.0 - ~/Library/Caches/fnm_multishells/738_1660008898114/bin/node
    Yarn: 1.22.19 - ~/Library/pnpm/yarn
    npm: 6.14.17 - ~/Library/Caches/fnm_multishells/738_1660008898114/bin/npm
  Utilities:
    Git: 2.37.1 - /usr/local/bin/git
  Browsers:
    Chrome: 104.0.5112.79
    Edge: Not Found
    Firefox: Not Found
    Safari: 15.5
  npmPackages:
    @vuepress/bundler-vite:  2.0.0-beta.49
    @vuepress/bundler-webpack: Not Found
    @vuepress/cli:  2.0.0-beta.49
    @vuepress/client:  2.0.0-beta.49
    @vuepress/core:  2.0.0-beta.49
    @vuepress/markdown:  2.0.0-beta.49
    @vuepress/plugin-active-header-links:  2.0.0-beta.49
    @vuepress/plugin-back-to-top: ^2.0.0-beta.49 => 2.0.0-beta.49
    @vuepress/plugin-container:  2.0.0-beta.49
    @vuepress/plugin-docsearch: ^2.0.0-beta.49 => 2.0.0-beta.49
    @vuepress/plugin-external-link-icon:  2.0.0-beta.49
    @vuepress/plugin-git: ^2.0.0-beta.49 => 2.0.0-beta.49
    @vuepress/plugin-google-analytics: Not Found
    @vuepress/plugin-medium-zoom: ^2.0.0-beta.49 => 2.0.0-beta.49
    @vuepress/plugin-nprogress:  2.0.0-beta.49
    @vuepress/plugin-palette:  2.0.0-beta.49
    @vuepress/plugin-prismjs:  2.0.0-beta.49
    @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.49
    @vuepress/plugin-toc: Not Found
    @vuepress/shared:  2.0.0-beta.49
    @vuepress/theme-default: ^2.0.0-beta.49 => 2.0.0-beta.49
    @vuepress/utils:  2.0.0-beta.49
    vue:  3.2.37
    vue-loader: Not Found
    vue-router:  4.1.2
    vuepress: ^2.0.0-beta.48 => 2.0.0-beta.49
    vuepress-vite:  undefined (2.0.0-beta.49)
    vuepress-webpack: Not Found
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants