Prepare 2.4.0 release

This commit is contained in:
squidfunk 2018-01-11 23:17:33 +01:00 committed by Martin Donath
parent b1d8a79471
commit f99f6956be
7 changed files with 36 additions and 7 deletions

View File

@ -1,3 +1,16 @@
mkdocs-material-2.4.0 (2017-01-11)
* Added focus state for clipboard buttons
* Fixed #400: Search bar steals tab focus
* Fixed search not closing on ENTER when result is selected
* Fixed search not closing when losing focus due to TAB
* Fixed collapsed navigation links getting focus
* Fixed outline being cut off on TAB focus of navigation links
* Fixed bug with first search result navigation being ignored
* Removed search result navigation via TAB (use UP and DOWN)
* Removed outline resets for links
* Improved general tabbing behavior on desktop
mkdocs-material-2.3.0 (2017-01-09)
* Added example (synonym: snippet) style for Admonition

View File

@ -12,7 +12,7 @@ To determine the currently installed version, use the following command:
``` sh
pip show mkdocs-material | grep -E ^Version
# Version 2.3.0
# Version 2.4.0
```
### Material 1.x to 2.x
@ -38,6 +38,21 @@ pip show mkdocs-material | grep -E ^Version
## Changelog
### 2.4.0 <small>_ January 11, 2018</small>
* Added focus state for clipboard buttons
* Fixed [#400][400]: Search bar steals tab focus
* Fixed search not closing on ++enter++ when result is selected
* Fixed search not closing when losing focus due to ++tab++
* Fixed collapsed navigation links getting focus
* Fixed `outline` being cut off on ++tab++ focus of navigation links
* Fixed bug with first search result navigation being ignored
* Removed search result navigation via ++tab++ (use ++up++ and ++down++)
* Removed `outline` resets for links
* Improved general tabbing behavior on desktop
[400]: https://github.com/squidfunk/mkdocs-material/issues/400
### 2.3.0 <small>_ January 9, 2018</small>
* Added `example` (synonym: `snippet`) style for Admonition

View File

@ -34,7 +34,7 @@
<meta name="lang:{{ key }}" content="{{ lang.t(key) }}">
{% endfor %}
<link rel="shortcut icon" href="{{ base_url }}/{{ config.theme.favicon }}">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.3.0">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.4.0">
{% endblock %}
{% block htmltitle %}
{% if page and page.meta and page.meta.title %}
@ -46,7 +46,7 @@
{% endif %}
{% endblock %}
{% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.46d65e19.css">
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.7fb6a6f0.css">
{% if palette.primary or palette.accent %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application-palette.792431c1.css">
{% endif %}

View File

@ -90,6 +90,7 @@ markdown_extensions:
- pymdownx.emoji:
emoji_generator: !!python/name:pymdownx.emoji.to_svg
- pymdownx.inlinehilite
- pymdownx.keys
- pymdownx.magiclink
- pymdownx.mark
- pymdownx.smartsymbols

View File

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

View File

@ -269,7 +269,7 @@ kbd {
padding: 0 0.25em * $correct;
border: 0.1rem solid darken($md-keyboard-background, 20%);
border-radius: 0.2rem;
border-radius: 0.3rem;
border-bottom-color: darken($md-keyboard-background, 25%);
background-color: $md-keyboard-background;
color: $md-keyboard-color;