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

Prepare 2.1.0 release

This commit is contained in:
squidfunk 2017-11-19 18:00:01 +01:00 committed by Martin Donath
parent 20c89a9c6b
commit 57142f144b
5 changed files with 30 additions and 10 deletions

View File

@ -1,3 +1,13 @@
mkdocs-material-2.1.0 (2017-11-19)
* Added support for white as a primary color
* Added support for sliding site name and title
* Fixed redundant clipboard button when using line numbers on code blocks
* Improved header appearance by making it taller
* Improved tabs appearance
* Improved CSS customizability by leveraging inheritance
* Removed scroll shadows via background-attachment
mkdocs-material-2.0.4 (2017-11-05) mkdocs-material-2.0.4 (2017-11-05)
* Fixed details not opening with footnote reference * Fixed details not opening with footnote reference

View File

@ -300,10 +300,10 @@ theme:
Material for MkDocs supports internationalization (i18n) and provides Material for MkDocs supports internationalization (i18n) and provides
translations for all template variables and labels in English `en`, French `fr`, translations for all template variables and labels in English `en`, French `fr`,
German `de`, Spanish `es`, Italian `it`, Danish `da`, Polish `pl`, Norwegian German `de`, Spanish `es`, Italian `it`, Danish `da`, Portugese `pt`,
`no`, Swedish `sv`, Korean `kr`, Russian `ru`, Japanese `ja`, Chinese Polish `pl`, Norwegian `no`, Swedish `sv`, Korean `kr`, Russian `ru`,
(Simplified) `zh` and Chinese (Traditional) `zh-Hant`. Specify the language Japanese `ja`, Chinese (Simplified) `zh` and Chinese (Traditional) `zh-Hant`.
with: Specify the language with:
``` yaml ``` yaml
theme: theme:
@ -344,9 +344,9 @@ All defined languages are used only for stemming. This will automatically load
the stemmers for the specified languages and set them up with site search. the stemmers for the specified languages and set them up with site search.
At the time of writing, the following languages are supported: English `en`, At the time of writing, the following languages are supported: English `en`,
French `fr`, German `de`, Spanish `es`, Italian `it`, Japanese `jp`, Dutch `du`, French `fr`, German `de`, Spanish `es`, Italian `it`, Dutch `du`, Danish `da`,
Danish `da`, Portguese `pt`, Finnish `fi`, Romanian `ro`, Hungarian `hu`, Portguese `pt`, Finnish `fi`, Romanian `ro`, Hungarian `hu`, Russian `ru`,
Russian `ru`, Norwegian `no`, Swedish `sv` and Turkish `tr`. Norwegian `no`, Swedish `sv`, Japanese `jp` and Turkish `tr`.
!!! warning "Only specify the languages you really need" !!! warning "Only specify the languages you really need"

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.0.4 # Version 2.1.0
``` ```
### Material 1.x to 2.x ### Material 1.x to 2.x
@ -38,6 +38,16 @@ pip show mkdocs-material | grep -E ^Version
## Changelog ## Changelog
### 2.1.0 <small>_ November 19, 2017</small>
* Added support for `white` as a primary color
* Added support for sliding site name and title
* Fixed redundant clipboard button when using line numbers on code blocks
* Improved header appearance by making it taller
* Improved tabs appearance
* Improved CSS customizability by leveraging inheritance
* Removed scroll shadows via `background-attachment`
### 2.0.4 <small>_ November 5, 2017</small> ### 2.0.4 <small>_ November 5, 2017</small>
* Fixed `details` not opening with footnote reference * Fixed `details` not opening with footnote reference

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

View File

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