Incorrect "github repo info" in header #7223
-
That field in the header indicate tag "v1.4.3". From a users perspective I would understand that the docu I do see currently is related to that version/tag and build from it. But that is not true. The docu generating that field is far beyond (~100 commits) that tag. So, how is this field generated? Can I manipulate it somehow? Can I deactivate it? Is there a way to indicate for real on which version (branch name, last commit, ...) that docu was build on? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
I already answered this here.
|
Beta Was this translation helpful? Give feedback.
The HTML is included based on the
repo_url
configuration setting in your mkdocs.yml file:https://www.mkdocs.org/user-guide/configuration/#repo_url
It's added in both the
nav
andheader
:mkdocs-material/src/templates/partials/nav.html
Lines 55 to 60 in 2412a1b
mkdocs-material/src/templates/partials/header.html
Lines 103 to 109 in 2412a1b