1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 15:40:15 +01:00

Prepare 5.0.0b3-2 release

This commit is contained in:
squidfunk 2020-03-06 10:37:28 +01:00
parent bd03ca5dfb
commit 184e5f24e2
14 changed files with 23 additions and 27 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,10 +1,10 @@
{ {
"assets/javascripts/bundle.js": "assets/javascripts/bundle.7fa1da95.min.js", "assets/javascripts/bundle.js": "assets/javascripts/bundle.d76ca884.min.js",
"assets/javascripts/bundle.js.map": "assets/javascripts/bundle.7fa1da95.min.js.map", "assets/javascripts/bundle.js.map": "assets/javascripts/bundle.d76ca884.min.js.map",
"assets/javascripts/vendor.js": "assets/javascripts/vendor.31a2e7b9.min.js", "assets/javascripts/vendor.js": "assets/javascripts/vendor.dd2d8181.min.js",
"assets/javascripts/vendor.js.map": "assets/javascripts/vendor.31a2e7b9.min.js.map", "assets/javascripts/vendor.js.map": "assets/javascripts/vendor.dd2d8181.min.js.map",
"assets/javascripts/worker/search.js": "assets/javascripts/worker/search.edc88caf.min.js", "assets/javascripts/worker/search.js": "assets/javascripts/worker/search.edc88caf.min.js",
"assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.edc88caf.min.js.map", "assets/javascripts/worker/search.js.map": "assets/javascripts/worker/search.edc88caf.min.js.map",
"assets/stylesheets/main.css": "assets/stylesheets/main.14bb5ffa.min.css", "assets/stylesheets/main.css": "assets/stylesheets/main.5ac791a0.min.css",
"assets/stylesheets/palette.css": "assets/stylesheets/palette.f5f04e6f.min.css" "assets/stylesheets/palette.css": "assets/stylesheets/palette.f5f04e6f.min.css"
} }

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -30,7 +30,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.0b3"> <meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-5.0.0b3-2">
{% endblock %} {% endblock %}
{% block htmltitle %} {% block htmltitle %}
{% if page and page.meta and page.meta.title %} {% if page and page.meta and page.meta.title %}
@ -42,7 +42,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/main.14bb5ffa.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/main.5ac791a0.min.css' | url }}">
{% if palette.primary or palette.accent %} {% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ 'assets/stylesheets/palette.f5f04e6f.min.css' | url }}"> <link rel="stylesheet" href="{{ 'assets/stylesheets/palette.f5f04e6f.min.css' | url }}">
{% endif %} {% endif %}
@ -78,7 +78,7 @@
{% endblock %} {% endblock %}
{% block extrahead %}{% endblock %} {% block extrahead %}{% endblock %}
</head> </head>
{% set direction = config.theme.direction | default(lang.t('direction')) %} {% set direction = config.theme.direction or lang.t('direction') %}
{% if palette.primary or palette.accent %} {% if palette.primary or palette.accent %}
{% set primary = palette.primary | replace(" ", "-") | lower %} {% set primary = palette.primary | replace(" ", "-") | lower %}
{% set accent = palette.accent | replace(" ", "-") | lower %} {% set accent = palette.accent | replace(" ", "-") | lower %}
@ -178,8 +178,8 @@
<script>var __config={}</script> <script>var __config={}</script>
{% endblock %} {% endblock %}
{% block scripts %} {% block scripts %}
<script src="{{ 'assets/javascripts/vendor.31a2e7b9.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/vendor.dd2d8181.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.7fa1da95.min.js' | url }}"></script> <script src="{{ 'assets/javascripts/bundle.d76ca884.min.js' | url }}"></script>
{%- set translations = {} -%} {%- set translations = {} -%}
{%- for key in [ {%- for key in [
"clipboard.copy", "clipboard.copy",
@ -206,7 +206,7 @@
} }
}, },
features: {{ config.theme.features | tojson }} features: {{ config.theme.features | tojson }}
}, __config)) }, typeof __config !== "undefined" ? __config : {}))
</script> </script>
{% for path in config["extra_javascript"] %} {% for path in config["extra_javascript"] %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>

View File

@ -7,11 +7,7 @@
{% set repo = repo[:-1] %} {% set repo = repo[:-1] %}
{% endif %} {% endif %}
{% set path = page.meta.path | default([""]) %} {% set path = page.meta.path | default([""]) %}
{% set file = page.meta.source %} <a href="{{ [repo, path, page.meta.source] | join('/') }}" title="{{ page.meta.source }}" class="md-content__button md-icon">
{% set repo_icon = config.extra.repo_icon | default(
"fontawesome/brands/git-alt"
) %}
<a href="{{ [repo, path, page.meta.source] | join('/') }}" title="{{ file }}" class="md-content__button md-icon">
{{ lang.t("meta.source") }} {{ lang.t("meta.source") }}
{% include ".icons/" ~ repo_icon ~ ".svg" %} {% include ".icons/" ~ config.theme.icon.repo ~ ".svg" %}
</a> </a>

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "mkdocs-material", "name": "mkdocs-material",
"version": "5.0.0b3-1", "version": "5.0.0b3-2",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {

View File

@ -1,6 +1,6 @@
{ {
"name": "mkdocs-material", "name": "mkdocs-material",
"version": "5.0.0b3-1", "version": "5.0.0b3-2",
"description": "A Material Design theme for MkDocs", "description": "A Material Design theme for MkDocs",
"keywords": [ "keywords": [
"mkdocs", "mkdocs",

View File

@ -381,7 +381,7 @@
} }
}, },
features: {{ config.theme.features | tojson }} features: {{ config.theme.features | tojson }}
}, __config)) }, typeof __config !== "undefined" ? __config : {}))
</script> </script>
<!-- Custom JavaScript --> <!-- Custom JavaScript -->