Prepare 2.2.2 release

This commit is contained in:
squidfunk 2017-12-08 09:43:32 +01:00 committed by Martin Donath
parent 996e5b5e31
commit 98dfb83d43
7 changed files with 40 additions and 14 deletions

View File

@ -1,6 +1,8 @@
mkdocs-material-2.x.x (2017-xx-xx)
mkdocs-material-2.2.2 (2017-12-08)
* Added Dutch translations
* Adjusted targeted link and footnote offsets
* Simplified Admonition styles and fixed padding bug
mkdocs-material-2.2.1 (2017-12-02)

View File

@ -301,9 +301,9 @@ theme:
Material for MkDocs supports internationalization (i18n) and provides
translations for all template variables and labels in English `en`, French `fr`,
German `de`, Spanish `es`, Italian `it`, Danish `da`, Portugese `pt`,
Polish `pl`, Norwegian `no`, Swedish `sv`, Korean `kr`, Russian `ru`,
Japanese `ja`, Chinese (Simplified) `zh` and Chinese (Traditional) `zh-Hant`.
Specify the language with:
Polish `pl`, Norwegian `no`, Dutch `nl`, Swedish `sv`, Korean `kr`,
Russian `ru`, Japanese `ja`, Chinese (Simplified) `zh` and Chinese (Traditional)
`zh-Hant`. Specify the language with:
``` yaml
theme:

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.2.1
# Version 2.2.2
```
### Material 1.x to 2.x
@ -38,6 +38,12 @@ pip show mkdocs-material | grep -E ^Version
## Changelog
### 2.2.2 <small>_ December 8, 2017</small>
* Added Dutch translations
* Adjusted targeted link and footnote offsets
* Simplified Admonition styles and fixed padding bug
### 2.2.1 <small>_ December 2, 2017</small>
* Fixed [#616][616]: Minor styling error with title-only admonition blocks

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.2.1">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.2.2">
{% endblock %}
{% block htmltitle %}
{% if page and page.meta and page.meta.title %}

View File

@ -0,0 +1,18 @@
{% macro t(key) %}{{ {
"language": "nl",
"clipboard.copy": "Kopiëren naar klembord",
"clipboard.copied": "Gekopieerd naar klembord",
"edit.link.title": "Wijzig deze pagina",
"footer.previous": "Vorige",
"footer.next": "Volgende",
"meta.comments": "Reacties",
"meta.source": "Bron",
"search.placeholder": "Zoeken",
"search.result.placeholder": "Typ om te beginnen met zoeken",
"search.result.none": "Geen overeenkomende documenten",
"search.result.one": "1 overeenkomende document",
"search.result.other": "# overeenkomende documenten",
"search.tokenizer": "[\s\-]+",
"source.link.title": "Ga naar repository",
"toc.title": "Inhoudstafel"
}[key] }}{% endmacro %}

View File

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

View File

@ -4566,7 +4566,7 @@ postcss-selector-parser@^2.0.0, postcss-selector-parser@^2.2.2, postcss-selector
indexes-of "^1.0.1"
uniq "^1.0.1"
postcss-sorting@^3.0.2:
postcss-sorting@^3.1.0:
version "3.1.0"
resolved "https://registry.yarnpkg.com/postcss-sorting/-/postcss-sorting-3.1.0.tgz#af7c90ee73ad12569a57664eaf06735c2e25bec0"
dependencies:
@ -4611,7 +4611,7 @@ postcss@^5.0.10, postcss@^5.0.11, postcss@^5.0.12, postcss@^5.0.13, postcss@^5.0
source-map "^0.5.6"
supports-color "^3.2.3"
postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.11, postcss@^6.0.13, postcss@^6.0.14, postcss@^6.0.3, postcss@^6.0.6, postcss@^6.0.8:
postcss@^6.0.0, postcss@^6.0.1, postcss@^6.0.13, postcss@^6.0.14, postcss@^6.0.3, postcss@^6.0.6, postcss@^6.0.8:
version "6.0.14"
resolved "https://registry.yarnpkg.com/postcss/-/postcss-6.0.14.tgz#5534c72114739e75d0afcf017db853099f562885"
dependencies:
@ -5416,13 +5416,13 @@ stylelint-config-standard@^17.0.0:
dependencies:
stylelint-config-recommended "^1.0.0"
stylelint-order@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/stylelint-order/-/stylelint-order-0.7.0.tgz#ceab5cbe24aa33fa63590024995395f6edfc9ab7"
stylelint-order@^0.8.0:
version "0.8.0"
resolved "https://registry.yarnpkg.com/stylelint-order/-/stylelint-order-0.8.0.tgz#49da5615cb91ed077ebd274687f4df3d6feeb4e4"
dependencies:
lodash "^4.17.4"
postcss "^6.0.11"
postcss-sorting "^3.0.2"
postcss "^6.0.14"
postcss-sorting "^3.1.0"
stylelint-scss@^2.0.0:
version "2.1.0"