Prepare 2.0.4 release

This commit is contained in:
squidfunk 2017-11-05 17:23:09 +01:00 committed by Martin Donath
parent f602de8e10
commit 185c6128d3
7 changed files with 14 additions and 6 deletions

View File

@ -1,3 +1,7 @@
mkdocs-material-2.0.4 (2017-11-05)
* Fixed details not opening with footnote reference
mkdocs-material-2.0.3 (2017-11-05) mkdocs-material-2.0.3 (2017-11-05)
* Added Japanese translations * Added Japanese translations

View File

@ -12,7 +12,7 @@ To determine the currently installed version, use the following command:
``` sh ``` sh
pip show mkdocs-material | grep -E ^Version pip show mkdocs-material | grep -E ^Version
# Version 2.0.3 # Version 2.0.4
``` ```
### Material 1.x to 2.x ### Material 1.x to 2.x
@ -38,6 +38,10 @@ pip show mkdocs-material | grep -E ^Version
## Changelog ## Changelog
### 2.0.4 <small>_ November 5, 2017</small>
* Fixed `details` not opening with footnote reference
### 2.0.3 <small>_ November 5, 2017</small> ### 2.0.3 <small>_ November 5, 2017</small>
* Added Japanese translations * Added Japanese translations

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -34,7 +34,7 @@
<meta name="lang:{{ key }}" content="{{ lang.t(key) }}"> <meta name="lang:{{ key }}" content="{{ lang.t(key) }}">
{% endfor %} {% endfor %}
<link rel="shortcut icon" href="{{ base_url }}/{{ config.theme.favicon }}"> <link rel="shortcut icon" href="{{ base_url }}/{{ config.theme.favicon }}">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.0.3"> <meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.0.4">
{% endblock %} {% endblock %}
{% block htmltitle %} {% block htmltitle %}
{% if page and page.meta.title %} {% if page and page.meta.title %}
@ -162,7 +162,7 @@
{% endblock %} {% endblock %}
</div> </div>
{% block scripts %} {% block scripts %}
<script src="{{ base_url }}/assets/javascripts/application-402b8c59c2.js"></script> <script src="{{ base_url }}/assets/javascripts/application-8e4952e681.js"></script>
{% if lang.t("search.language") != "en" %} {% if lang.t("search.language") != "en" %}
{% set languages = lang.t("search.language").split(",") %} {% set languages = lang.t("search.language").split(",") %}
{% if languages | length and languages[0] != "" %} {% if languages | length and languages[0] != "" %}

View File

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

View File

@ -148,7 +148,7 @@ function initialize(config) { // eslint-disable-line func-style
/* Open details after anchor jump */ /* Open details after anchor jump */
const details = () => { const details = () => {
if (document.location.hash) { if (document.location.hash) {
const el = document.querySelector(document.location.hash) const el = document.getElementById(document.location.hash.substring(1))
if (!el) if (!el)
return return