1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 07:30:12 +01:00

Prepare 4.0.0 release

This commit is contained in:
squidfunk 2019-02-13 16:24:37 +01:00
parent 2b2d908d6e
commit 9f4e4c8884
4 changed files with 32 additions and 8 deletions

View File

@ -1,8 +1,9 @@
mkdocs-material-4.0.0 (2019-xx-xx) mkdocs-material-4.0.0 (2019-02-13)
* Added background on hover for table rows
* Removed Google Tag Manager and reverted to Google Analytics * Removed Google Tag Manager and reverted to Google Analytics
* Removed blocks in partials - Jinja doesn't support them * Removed blocks in partials - Jinja doesn't support them
* Fixed #911: Chrome breaks layout if system language is Chinese * Fixed #911: Chrome breaks layout if system language is Chinese [BREAKING]
* Fixed #976: Removed FastClick * Fixed #976: Removed FastClick
mkdocs-material-3.3.0 (2019-01-29) mkdocs-material-3.3.0 (2019-01-29)
@ -51,7 +52,7 @@ mkdocs-material-3.0.1 (2018-08-05)
mkdocs-material-3.0.0 (2018-08-05) mkdocs-material-3.0.0 (2018-08-05)
* Upgraded MkDocs to 1.0 * Upgraded MkDocs to 1.0 [BREAKING]
* Upgraded Python in official Docker image to 3.6 * Upgraded Python in official Docker image to 3.6
* Added Serbian and Serbo-Croatian translations * Added Serbian and Serbo-Croatian translations
@ -280,7 +281,7 @@ mkdocs-material-2.0.0 (2017-10-31)
* Added support for easier configuration of search tokenizer * Added support for easier configuration of search tokenizer
* Added support to disable search * Added support to disable search
* Added Korean translations * Added Korean translations
* Removed support for MkDocs 0.16.x * Removed support for MkDocs 0.16.x [BREAKING]
mkdocs-material-1.12.2 (2017-10-26) mkdocs-material-1.12.2 (2017-10-26)

View File

@ -14,6 +14,21 @@ To inspect the currently installed version, use the following command:
pip show mkdocs-material pip show mkdocs-material
``` ```
### Material 3.x to 4.x
* Material for MkDocs 4.x finally fixes incorrect layout on Chinese systems.
The fix includes a mandatory change of the base font-size from `10px` to
`20px` which means all `rem` values needed to be updated. Within the theme,
`px` to `rem` calculation is now encapsulated in a new function called
`px2rem` which is part of the SASS code base.
* If you use Material with custom CSS that is based on `rem` values, note that
those values must now be divided by 2. Now, `1.0rem` doesn't map to `10px`,
but `20px`. To learn more about the problem and implications, please refer
to [the issue][2] in which the problem was discovered and fixed.
[2]: https://github.com/squidfunk/mkdocs-material/issues/911
### Material 2.x to 3.x ### Material 2.x to 3.x
* Material for MkDocs 3.x requires MkDocs 1.0 because the way paths are resolved * Material for MkDocs 3.x requires MkDocs 1.0 because the way paths are resolved
@ -49,6 +64,14 @@ pip show mkdocs-material
## Changelog ## Changelog
### 4.0.0 <small>_ February 13, 2019</small>
* Added background on hover for table rows
* Removed Google Tag Manager and reverted to Google Analytics
* Removed blocks in partials - Jinja doesn't support them
* Fixed #911: Chrome breaks layout if system language is Chinese [BREAKING]
* Fixed #976: Removed FastClick
### 3.3.0 <small>_ January 29, 2019</small> ### 3.3.0 <small>_ January 29, 2019</small>
* Moved Google Analytics integration into `head` using Google Tag Manager * Moved Google Analytics integration into `head` using Google Tag Manager
@ -95,7 +118,7 @@ pip show mkdocs-material
### 3.0.0 <small>_ August 5, 2018</small> ### 3.0.0 <small>_ August 5, 2018</small>
* Upgraded MkDocs to 1.0 * Upgraded MkDocs to 1.0 [BREAKING]
* Upgraded Python in official Docker image to 3.6 * Upgraded Python in official Docker image to 3.6
* Added Serbian and Serbo-Croatian translations * Added Serbian and Serbo-Croatian translations
@ -323,7 +346,7 @@ pip show mkdocs-material
* Added support for easier configuration of search tokenizer * Added support for easier configuration of search tokenizer
* Added support to disable search * Added support to disable search
* Added Korean translations * Added Korean translations
* Removed support for MkDocs 0.16.x * Removed support for MkDocs 0.16.x [BREAKING]
### 1.12.2 <small>_ October 26, 2017</small> ### 1.12.2 <small>_ October 26, 2017</small>

View File

@ -41,7 +41,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.3.0"> <meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-4.0.0">
{% 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

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