Skip to content
Discussion options

You must be logged in to vote

Can I somehow (without using CSS hacks) deactivate the whole element?

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 and header:

<!-- Repository information -->
{% if config.repo_url %}
<div class="md-nav__source">
{% include "partials/source.html" %}
</div>
{% endif %}

<!-- Repository information -->
{% if config.repo_url %}
<div class="md-header…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@buhtz
Comment options

@kamilkrzyskow
Comment options

Answer selected by squidfunk
@squidfunk
Comment options

@buhtz
Comment options

@squidfunk
Comment options

@pacharanero
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants