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

Prepare 4.4.2 release

This commit is contained in:
squidfunk 2019-08-27 17:41:51 +02:00
parent 0a93a26364
commit af81591cce
9 changed files with 97 additions and 20 deletions

View File

@ -1,3 +1,10 @@
mkdocs-material-4.4.2 (2019-08-27)
* Added Afrikaans translations
* Fixed broken page title when h1 contained HTML tags
* Improved accessibility for IE users
* Removed unnecessary title attributes from links in navigation
mkdocs-material-4.4.1 (2019-08-22)
* Added support for black as a primary color

View File

@ -42,7 +42,7 @@ theme:
## What to expect
* Responsive design and fluid layout for all kinds of screens and devices,
designed to serve your project documentation in a user-friendly way in 37
designed to serve your project documentation in a user-friendly way in 38
languages with optimal readability.
* Easily customizable primary and accent color, fonts, favicon and logo;

View File

@ -318,66 +318,65 @@ translations for all template variables and labels in the following languages:
</thead>
<tbody>
<tr>
<td><code>af</code> / Afrikaans</td>
<td><code>ar</code> / Arabic</td>
<td><code>ca</code> / Catalan</td>
<td><code>cs</code> / Czech</td>
<td><code>da</code> / Danish</td>
</tr>
<tr>
<td><code>da</code> / Danish</td>
<td><code>nl</code> / Dutch</td>
<td><code>en</code> / English</td>
<td><code>fi</code> / Finnish</td>
<td><code>fr</code> / French</td>
</tr>
<tr>
<td><code>fr</code> / French</td>
<td><code>gl</code> / Galician</td>
<td><code>de</code> / German</td>
<td><code>gr</code> / Greek</td>
<td><code>he</code> / Hebrew</td>
</tr>
<tr>
<td><code>he</code> / Hebrew</td>
<td><code>hi</code> / Hindi</td>
<td><code>hr</code> / Croatian</td>
<td><code>hu</code> / Hungarian</td>
<td><code>id</code> / Indonesian</td>
</tr>
<tr>
<td><code>id</code> / Indonesian</td>
<td><code>it</code> / Italian</td>
<td><code>ja</code> / Japanese</td>
<td><code>kr</code> / Korean</td>
<td><code>no</code> / Norwegian</td>
</tr>
<tr>
<td><code>no</code> / Norwegian</td>
<td colspan="2"><code>nn</code> / Norwegian (Nynorsk)</td>
<td><code>fa</code> / Persian</td>
<td><code>pl</code> / Polish</td>
</tr>
<tr>
<td><code>pl</code> / Polish</td>
<td><code>pt</code> / Portugese</td>
<td><code>ru</code> / Russian</td>
<td><code>sr</code> / Serbian</td>
<td><code>sh</code> / Serbo-Croatian</td>
</tr>
<tr>
<td><code>sh</code> / Serbo-Croatian</td>
<td><code>sk</code> / Slovak</td>
<td><code>si</code> / Slovenian</td>
<td><code>es</code> / Spanish</td>
<td><code>sv</code> / Swedish</td>
</tr>
<tr>
<td><code>sv</code> / Swedish</td>
<td><code>tr</code> / Turkish</td>
<td><code>uk</code> / Ukrainian</td>
<td><code>vi</code> / Vietnamese</td>
<td><code>zh</code> / Chinese (Simplified)</td>
</tr>
<tr>
<td colspan="2">
<code>zh-Hant</code> / Chinese (Traditional)
</td>
<td colspan="2"><code>zh</code> / Chinese (Simplified)</td>
<td colspan="2"><code>zh-Hant</code> / Chinese (Traditional)</td>
</tr>
<tr>
<td colspan="2"><code>zh-TW</code> / Chinese (Taiwanese)</td>
</tr>
<tr>
<td colspan="4" align="right">
<td colspan="2" align="right">
<a href="http://bit.ly/2EbzFc8">Submit a new language</a>
</td>
</tr>

View File

@ -29,7 +29,7 @@ theme:
## What to expect
* Responsive design and fluid layout for all kinds of screens and devices,
designed to serve your project documentation in a user-friendly way in 37
designed to serve your project documentation in a user-friendly way in 38
languages with optimal readability.
* Easily customizable primary and accent color, fonts, favicon and logo;

View File

@ -64,7 +64,14 @@ pip show mkdocs-material
## Changelog
### 4.4.1 <small>_ August 8, 2019</small>
### 4.4.2 <small>_ August 27, 2019</small>
* Added Afrikaans translations
* Fixed broken page title when `h1` contained HTML tags
* Improved accessibility for IE users
* Removed unnecessary `title` attributes from links in navigation
### 4.4.1 <small>_ August 22, 2019</small>
* Added support for `black` as a primary color
* Fixed broken footer bar when `h1` contained HTML tags

View File

@ -44,7 +44,7 @@
<meta name="lang:{{ key }}" content="{{ lang.t(key) }}">
{% endfor %}
<link rel="shortcut icon" href="{{ config.theme.favicon | url }}">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-4.4.1">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-4.4.2">
{% endblock %}
{% block htmltitle %}
{% if page and page.meta and page.meta.title %}

View File

@ -0,0 +1,22 @@
{#-
This file was automatically generated - do not edit
-#}
{% macro t(key) %}{{ {
"language": "af",
"clipboard.copy": "Kopieer na knipbord",
"clipboard.copied": "gekopieer na knipbord",
"edit.link.title": "Wysig hierdie bladsy",
"footer.previous": "Vorige",
"footer.next": "Volgende",
"meta.comments": "Kommentaar",
"meta.source": "Bron",
"search.language": "nl",
"search.placeholder": "Soek",
"search.result.placeholder": "Tik om te begin soek",
"search.result.none": "Geen ooreenstemmende dokumente",
"search.result.one": "1 ooreenstemmende dokument",
"search.result.other": "# ooreenstemmende dokumente",
"skip.link.title": "Slaan oor na inhoud",
"source.link.title": "Slaan oor na inhoud",
"toc.title": "Inhoudsopgawe"
}[key] }}{% endmacro %}

View File

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

View File

@ -0,0 +1,42 @@
<!--
Copyright (c) 2016-2019 Martin Donath <martin.donath@squidfunk.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to
deal in the Software without restriction, including without limitation the
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
sell copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
IN THE SOFTWARE.
-->
<!-- Translations: Afrikaans -->
{% macro t(key) %}{{ {
"language": "af",
"clipboard.copy": "Kopieer na knipbord",
"clipboard.copied": "gekopieer na knipbord",
"edit.link.title": "Wysig hierdie bladsy",
"footer.previous": "Vorige",
"footer.next": "Volgende",
"meta.comments": "Kommentaar",
"meta.source": "Bron",
"search.language": "nl",
"search.placeholder": "Soek",
"search.result.placeholder": "Tik om te begin soek",
"search.result.none": "Geen ooreenstemmende dokumente",
"search.result.one": "1 ooreenstemmende dokument",
"search.result.other": "# ooreenstemmende dokumente",
"skip.link.title": "Slaan oor na inhoud",
"source.link.title": "Slaan oor na inhoud",
"toc.title": "Inhoudsopgawe"
}[key] }}{% endmacro %}