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

Prepare 3.0.6 release

This commit is contained in:
squidfunk 2018-10-26 13:15:41 +02:00
parent 61dcde1dda
commit fe42b2f7e1
8 changed files with 74 additions and 5 deletions

View File

@ -1,5 +1,6 @@
mkdocs-material-3.x.x (2018-xx-xx) mkdocs-material-3.0.6 (2018-10-26)
* Added Taiwanese translations
* Fixed #906: JavaScript code blocks evaluated in search results * Fixed #906: JavaScript code blocks evaluated in search results
mkdocs-material-3.0.5 (2018-10-23) mkdocs-material-3.0.5 (2018-10-23)

View File

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

View File

@ -367,8 +367,13 @@ translations for all template variables and labels in the following languages:
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2">
<code>zh-TW</code> / Chinese (Taiwanese)
</td>
<td><code>tr</code> / Turkish</td> <td><code>tr</code> / Turkish</td>
<td><code>uk</code> / Ukrainian</td> <td><code>uk</code> / Ukrainian</td>
</tr>
<tr>
<td><code>vi</code> / Vietnamese</td> <td><code>vi</code> / Vietnamese</td>
<td colspan="3" align="right"> <td colspan="3" align="right">
<a href="http://bit.ly/2EbzFc8">Submit a new language</a> <a href="http://bit.ly/2EbzFc8">Submit a new language</a>

View File

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

View File

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

View File

@ -0,0 +1,20 @@
{% macro t(key) %}{{ {
"language": "zh-Hant",
"clipboard.copy": "複製",
"clipboard.copied": "已複製",
"edit.link.title": "編輯此頁",
"footer.previous": "上一頁",
"footer.next": "下一頁",
"meta.comments": "留言",
"meta.source": "來源",
"search.language": "jp",
"search.placeholder": "搜尋",
"search.result.placeholder": "打字進行搜尋",
"search.result.none": "沒有符合的項目",
"search.result.one": "找到 1 個符合的項目",
"search.result.other": "找到 # 個符合的項目",
"search.tokenizer": "[\\。]+",
"skip.link.title": "跳轉到",
"source.link.title": "前往倉庫",
"toc.title": "本頁目錄"
}[key] }}{% endmacro %}

View File

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

View File

@ -0,0 +1,43 @@
<!--
Copyright (c) 2016-2018 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: Chinese (Taiwanese) -->
{% macro t(key) %}{{ {
"language": "zh-Hant",
"clipboard.copy": "複製",
"clipboard.copied": "已複製",
"edit.link.title": "編輯此頁",
"footer.previous": "上一頁",
"footer.next": "下一頁",
"meta.comments": "留言",
"meta.source": "來源",
"search.language": "jp",
"search.placeholder": "搜尋",
"search.result.placeholder": "打字進行搜尋",
"search.result.none": "沒有符合的項目",
"search.result.one": "找到 1 個符合的項目",
"search.result.other": "找到 # 個符合的項目",
"search.tokenizer": "[\\。]+",
"skip.link.title": "跳轉到",
"source.link.title": "前往倉庫",
"toc.title": "本頁目錄"
}[key] }}{% endmacro %}