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

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)
* Added Japanese translations

View File

@ -12,7 +12,7 @@ To determine the currently installed version, use the following command:
``` sh
pip show mkdocs-material | grep -E ^Version
# Version 2.0.3
# Version 2.0.4
```
### Material 1.x to 2.x
@ -38,6 +38,10 @@ pip show mkdocs-material | grep -E ^Version
## Changelog
### 2.0.4 <small>_ November 5, 2017</small>
* Fixed `details` not opening with footnote reference
### 2.0.3 <small>_ November 5, 2017</small>
* 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) }}">
{% endfor %}
<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 %}
{% block htmltitle %}
{% if page and page.meta.title %}
@ -162,7 +162,7 @@
{% endblock %}
</div>
{% 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" %}
{% set languages = lang.t("search.language").split(",") %}
{% if languages | length and languages[0] != "" %}

View File

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

View File

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