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

Incorrect breadcrumbs in local search #2238

Closed
3 tasks done
FlorianKoerner opened this issue Apr 16, 2023 · 1 comment
Closed
3 tasks done

Incorrect breadcrumbs in local search #2238

FlorianKoerner opened this issue Apr 16, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@FlorianKoerner
Copy link

Describe the bug

I don't even know what exactly is happening here, but the breadcrumbs in the local search are not correct here.

image

Reproduction

Create example page and search for Foo.

## Foo

Hello world

#### Bar

Hello world

## Baz

Hello world

Expected behavior

Breadcrumbs should only show titles of the own hierarchy.

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 7.17.0 - /usr/local/bin/npm
  npmPackages:
    vitepress: 1.0.0-alpha.69 => 1.0.0-alpha.69

Additional context

No response

Validations

  • Follow our Code of Conduct
  • Read the docs.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
@FlorianKoerner FlorianKoerner added the bug: pending triage Maybe a bug, waiting for confirmation label Apr 16, 2023
@brc-dd brc-dd added bug Something isn't working and removed bug: pending triage Maybe a bug, waiting for confirmation labels Apr 16, 2023
@brc-dd
Copy link
Member

brc-dd commented Apr 16, 2023

Yeah, we are aware of this too. Working on fixes. Those links are wrong too, and they might be repeated. Happening only with nested headings.

@brc-dd brc-dd self-assigned this Apr 16, 2023
@brc-dd brc-dd closed this as completed in b1c956c Apr 16, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants