mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Prepare 5.0.0b2-1 release
This commit is contained in:
parent
1704c9d695
commit
71758b41b4
@ -31,7 +31,7 @@
|
|||||||
<meta name="author" content="{{ config.site_author }}">
|
<meta name="author" content="{{ config.site_author }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<link rel="shortcut icon" href="{{ config.theme.favicon | url }}">
|
<link rel="shortcut icon" href="{{ config.theme.favicon | url }}">
|
||||||
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-5.0.0b2">
|
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-5.0.0b2-1">
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block htmltitle %}
|
{% block htmltitle %}
|
||||||
{% if page and page.meta and page.meta.title %}
|
{% if page and page.meta and page.meta.title %}
|
||||||
@ -191,22 +191,22 @@
|
|||||||
</div>
|
</div>
|
||||||
{% block scripts %}
|
{% block scripts %}
|
||||||
<script src="{{ 'assets/javascripts/bundle.1defb77e.min.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.1defb77e.min.js' | url }}"></script>
|
||||||
|
{%- set translations = {} -%}
|
||||||
|
{%- for key in [
|
||||||
|
"clipboard.copy",
|
||||||
|
"clipboard.copied",
|
||||||
|
"search.language",
|
||||||
|
"search.pipeline.stopwords",
|
||||||
|
"search.pipeline.trimmer",
|
||||||
|
"search.result.placeholder",
|
||||||
|
"search.result.none",
|
||||||
|
"search.result.one",
|
||||||
|
"search.result.other",
|
||||||
|
"search.tokenizer"
|
||||||
|
] -%}
|
||||||
|
{%- set _ = translations.update({ key: lang.t(key) }) -%}
|
||||||
|
{%- endfor -%}
|
||||||
<script id="__lang" type="application/json">
|
<script id="__lang" type="application/json">
|
||||||
{%- set translations = {} -%}
|
|
||||||
{%- for key in [
|
|
||||||
"clipboard.copy",
|
|
||||||
"clipboard.copied",
|
|
||||||
"search.language",
|
|
||||||
"search.pipeline.stopwords",
|
|
||||||
"search.pipeline.trimmer",
|
|
||||||
"search.result.placeholder",
|
|
||||||
"search.result.none",
|
|
||||||
"search.result.one",
|
|
||||||
"search.result.other",
|
|
||||||
"search.tokenizer"
|
|
||||||
] -%}
|
|
||||||
{%- set _ = translations.update({ key: lang.t(key) }) -%}
|
|
||||||
{%- endfor -%}
|
|
||||||
{{ translations | tojson }}
|
{{ translations | tojson }}
|
||||||
</script>
|
</script>
|
||||||
<script>
|
<script>
|
||||||
@ -216,7 +216,7 @@
|
|||||||
search: "{{ 'assets/javascripts/worker/search.926ffd9e.min.js' | url }}"
|
search: "{{ 'assets/javascripts/worker/search.926ffd9e.min.js' | url }}"
|
||||||
},
|
},
|
||||||
feature: {
|
feature: {
|
||||||
instant: {{ feature.instant | tojson }}
|
instant: {{ "true" if feature and feature.instant else "false" }}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mkdocs-material",
|
"name": "mkdocs-material",
|
||||||
"version": "5.0.0b2",
|
"version": "5.0.0b2-1",
|
||||||
"description": "A Material Design theme for MkDocs",
|
"description": "A Material Design theme for MkDocs",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"mkdocs",
|
"mkdocs",
|
||||||
|
@ -375,22 +375,22 @@
|
|||||||
<script src="{{ 'assets/javascripts/bundle.js' | url }}"></script>
|
<script src="{{ 'assets/javascripts/bundle.js' | url }}"></script>
|
||||||
|
|
||||||
<!-- Translations -->
|
<!-- Translations -->
|
||||||
|
{%- set translations = {} -%}
|
||||||
|
{%- for key in [
|
||||||
|
"clipboard.copy",
|
||||||
|
"clipboard.copied",
|
||||||
|
"search.language",
|
||||||
|
"search.pipeline.stopwords",
|
||||||
|
"search.pipeline.trimmer",
|
||||||
|
"search.result.placeholder",
|
||||||
|
"search.result.none",
|
||||||
|
"search.result.one",
|
||||||
|
"search.result.other",
|
||||||
|
"search.tokenizer"
|
||||||
|
] -%}
|
||||||
|
{%- set _ = translations.update({ key: lang.t(key) }) -%}
|
||||||
|
{%- endfor -%}
|
||||||
<script id="__lang" type="application/json">
|
<script id="__lang" type="application/json">
|
||||||
{%- set translations = {} -%}
|
|
||||||
{%- for key in [
|
|
||||||
"clipboard.copy",
|
|
||||||
"clipboard.copied",
|
|
||||||
"search.language",
|
|
||||||
"search.pipeline.stopwords",
|
|
||||||
"search.pipeline.trimmer",
|
|
||||||
"search.result.placeholder",
|
|
||||||
"search.result.none",
|
|
||||||
"search.result.one",
|
|
||||||
"search.result.other",
|
|
||||||
"search.tokenizer"
|
|
||||||
] -%}
|
|
||||||
{%- set _ = translations.update({ key: lang.t(key) }) -%}
|
|
||||||
{%- endfor -%}
|
|
||||||
{{ translations | tojson }}
|
{{ translations | tojson }}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
@ -402,7 +402,7 @@
|
|||||||
search: "{{ 'assets/javascripts/worker/search.js' | url }}"
|
search: "{{ 'assets/javascripts/worker/search.js' | url }}"
|
||||||
},
|
},
|
||||||
feature: {
|
feature: {
|
||||||
instant: {{ feature.instant | tojson }}
|
instant: {{ "true" if feature and feature.instant else "false" }}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
Loading…
Reference in New Issue
Block a user