mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Prepare 2.0.4 release
This commit is contained in:
parent
f602de8e10
commit
185c6128d3
@ -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
|
||||
|
@ -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
1
material/assets/javascripts/application-8e4952e681.js
Normal file
1
material/assets/javascripts/application-8e4952e681.js
Normal file
File diff suppressed because one or more lines are too long
@ -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] != "" %}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "mkdocs-material",
|
||||
"version": "2.0.3",
|
||||
"version": "2.0.4",
|
||||
"description": "A Material Design theme for MkDocs",
|
||||
"keywords": [
|
||||
"mkdocs",
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user