From 98dfb83d439f47a52032fca334bf441cadb95d69 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Fri, 8 Dec 2017 09:43:32 +0100 Subject: [PATCH] Prepare 2.2.2 release --- CHANGELOG | 4 +++- docs/getting-started.md | 6 +++--- docs/release-notes.md | 8 +++++++- material/base.html | 2 +- material/partials/language/nl.html | 18 ++++++++++++++++++ package.json | 2 +- yarn.lock | 14 +++++++------- 7 files changed, 40 insertions(+), 14 deletions(-) create mode 100644 material/partials/language/nl.html diff --git a/CHANGELOG b/CHANGELOG index 900d6f104..f2aa603e9 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -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) diff --git a/docs/getting-started.md b/docs/getting-started.md index 6f018d4a9..64bc8e8a9 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -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: diff --git a/docs/release-notes.md b/docs/release-notes.md index 0748363d6..5bb66d3ba 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -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 _ December 8, 2017 + +* Added Dutch translations +* Adjusted targeted link and footnote offsets +* Simplified Admonition styles and fixed padding bug + ### 2.2.1 _ December 2, 2017 * Fixed [#616][616]: Minor styling error with title-only admonition blocks diff --git a/material/base.html b/material/base.html index a14e3b22e..14fe315b4 100644 --- a/material/base.html +++ b/material/base.html @@ -34,7 +34,7 @@ {% endfor %} - + {% endblock %} {% block htmltitle %} {% if page and page.meta and page.meta.title %} diff --git a/material/partials/language/nl.html b/material/partials/language/nl.html new file mode 100644 index 000000000..a7fe2e18b --- /dev/null +++ b/material/partials/language/nl.html @@ -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 %} diff --git a/package.json b/package.json index 17f7a1823..d381ef95e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "mkdocs-material", - "version": "2.2.1", + "version": "2.2.2", "description": "A Material Design theme for MkDocs", "keywords": [ "mkdocs", diff --git a/yarn.lock b/yarn.lock index c18f40acf..6fbd20884 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"