8000 Version switching does not work with anchors · Issue #4291 · squidfunk/mkdocs-material · GitHub
[go: up one dir, main page]

8000 Skip to content

Version switching does not work with anchors #4291

@ofek

Description

@ofek

Contribution guidelines

I've found a bug and checked that ...

  • ... the problem doesn't occur with the mkdocs or readthedocs themes
  • ... the problem persists when all overrides are removed, i.e. custom_dir, extra_javascript and extra_css
  • ... the documentation does not mention anything about my problem
  • ... there are no open or closed issues that are related to my problem

Description

Version switching does not work with anchors

Expected behaviour

Version switching works with anchors

Actual behaviour

When an anchor is selected, version switching takes you to /

Steps to reproduce

Go to https://hatch.pypa.io/latest/intro/#setup then select any version from the dropdown

Package versions

  • Python: 3.10.5
  • MkDocs: 1.3.1
  • Material: 8.4.2

Configuration

https://github.com/pypa/hatch/blob/master/mkdocs.yml

System information

  • Operating system: Windows 10
  • Browser: Chrome

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue reports a bugresolvedIssue is resolved, yet unreleased if open

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0