Skip to content
Discussion options

You must be logged in to vote

Hello @alithechemist,
you can override the theme and prevent adding JavaScript to the HTML code:
https://squidfunk.github.io/mkdocs-material/customization/#extending-the-theme
https://squidfunk.github.io/mkdocs-material/customization/#overriding-blocks

{% block config %}
{%- set app = {
"base": base_url,
"features": features,
"translations": {},
"search": "assets/javascripts/workers/search.js" | url
} -%}
<!-- Versioning -->
{%- if config.extra.version -%}
{%- set mike = config.plugins.get("mike") -%}
{%- if not mike or mike.config.version_selector -%}

Replies: 1 comment 6 replies

Comment options

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

@ghost
Comment options

@ghost
Comment options

@kamilkrzyskow
Comment options

@ghost
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
1 participant