Prepare 2.2.6 release

This commit is contained in:
squidfunk 2017-12-27 11:31:07 +01:00 committed by Martin Donath
parent 0cf1bc7df4
commit 6d9a48fc80
12 changed files with 46 additions and 12 deletions

View File

@ -1,3 +1,8 @@
mkdocs-material-2.2.6 (2017-12-27)
* Added Turkish translations
* Fixed unclickable area below header in case JavaScript is not available
mkdocs-material-2.2.5 (2017-12-18) mkdocs-material-2.2.5 (2017-12-18)
* Fixed #639: Broken default favicon * Fixed #639: Broken default favicon

View File

@ -12,7 +12,7 @@ To determine the currently installed version, use the following command:
``` sh ``` sh
pip show mkdocs-material | grep -E ^Version pip show mkdocs-material | grep -E ^Version
# Version 2.2.5 # Version 2.2.6
``` ```
### Material 1.x to 2.x ### Material 1.x to 2.x
@ -38,6 +38,11 @@ pip show mkdocs-material | grep -E ^Version
## Changelog ## Changelog
### 2.2.6 <small>_ December 27, 2017</small>
* Added Turkish translations
* Fixed unclickable area below header in case JavaScript is not available
### 2.2.5 <small>_ December 18, 2017</small> ### 2.2.5 <small>_ December 18, 2017</small>
* Fixed [#639][639]: Broken default favicon * Fixed [#639][639]: Broken default favicon

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -34,7 +34,7 @@
<meta name="lang:{{ key }}" content="{{ lang.t(key) }}"> <meta name="lang:{{ key }}" content="{{ lang.t(key) }}">
{% endfor %} {% endfor %}
<link rel="shortcut icon" href="{{ base_url }}/{{ config.theme.favicon }}"> <link rel="shortcut icon" href="{{ base_url }}/{{ config.theme.favicon }}">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.2.5"> <meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.2.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 %}
@ -46,7 +46,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.bcabdff3.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.6525f7f6.css">
{% if palette.primary or palette.accent %} {% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-palette.792431c1.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-palette.792431c1.css">
{% endif %} {% endif %}
@ -167,7 +167,7 @@
{% endblock %} {% endblock %}
</div> </div>
{% block scripts %} {% block scripts %}
<script src="{{ base_url }}/assets/javascripts/application.5165553b.js"></script> <script src="{{ base_url }}/assets/javascripts/application.206c856d.js"></script>
{% if lang.t("search.language") != "en" %} {% if lang.t("search.language") != "en" %}
{% set languages = lang.t("search.language").split(",") %} {% set languages = lang.t("search.language").split(",") %}
{% if languages | length and languages[0] != "" %} {% if languages | length and languages[0] != "" %}

View File

@ -0,0 +1,18 @@
{% macro t(key) %}{{ {
"language": "tr",
"clipboard.copy": "Kopyala",
"clipboard.copied": "Kopyalandı",
"edit.link.title": "Düzenle",
"footer.previous": "Önceki",
"footer.next": "Sonraki",
"meta.comments": "Yorumlar",
"meta.source": "Kaynak",
"search.placeholder": "Ara",
"search.result.placeholder": "Aramaya başlamak için yazın",
"search.result.none": "Eşleşen doküman bulunamadı",
"search.result.one": "1 doküman bulundu",
"search.result.other": "# doküman bulundu",
"search.tokenizer": "[\s\-]+",
"source.link.title": "Depoya git",
"toc.title": "İçindekiler"
}[key] }}{% endmacro %}

View File

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

View File

@ -43,6 +43,7 @@
// Always show shadow, in case JavaScript is not available // Always show shadow, in case JavaScript is not available
.no-js & { .no-js & {
transition: none;
box-shadow: none; box-shadow: none;
} }
@ -145,6 +146,11 @@
.no-js & { .no-js & {
position: initial; position: initial;
} }
// Hide page title as it is invisible anyway and will overflow the header
.no-js & + & {
display: none;
}
} }
// Header title - set line height to match icon for correct alignment // Header title - set line height to match icon for correct alignment

View File

@ -20,7 +20,7 @@
IN THE SOFTWARE. IN THE SOFTWARE.
--> -->
<!-- Translations: English --> <!-- Translations: Turkish -->
{% macro t(key) %}{{ { {% macro t(key) %}{{ {
"language": "tr", "language": "tr",
"clipboard.copy": "Kopyala", "clipboard.copy": "Kopyala",

View File

@ -4829,9 +4829,9 @@ progress@^2.0.0:
version "2.0.0" version "2.0.0"
resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f" resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f"
promise-polyfill@^6.0.2: promise-polyfill@^7.0.0:
version "6.0.2" version "7.0.0"
resolved "https://registry.yarnpkg.com/promise-polyfill/-/promise-polyfill-6.0.2.tgz#d9c86d3dc4dc2df9016e88946defd69b49b41162" resolved "https://registry.yarnpkg.com/promise-polyfill/-/promise-polyfill-7.0.0.tgz#c665b6da1f97e21c3f2f7aa0543c90209127cb15"
promised-io@~0.3.4: promised-io@~0.3.4:
version "0.3.5" version "0.3.5"