8000 Edit and View Source buttons are the same · Issue #4813 · squidfunk/mkdocs-material · GitHub
[go: up one dir, main page]

Skip to content

Edit and View Source buttons are the same #4813

@davelevine

Description

@davelevine

Context

No response

Bug description

When clicking on either the View Source or Edit Source buttons, they both appear to bring you to the Edit page on GitHub. This can be seen in the Material for MkDocs official documentation. I noticed it specifically on the Reference page, but it can be seen on any page.

Related links

The following is the page I noticed it on, but it can be seen on any page.

Reproduction

repo_url: ...
theme:
  features:
    - content.action.edit
    - content.action.view

Steps to reproduce

  • Add content.action.edit and content.action.view to mkdocs.yml
  • Run mkdocs serve
  • Open local environment and click on either the Edit or View Source buttons.

As mentioned above, this can also be seen in the official documents.

Browser

Firefox

Before submitting

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