Prepare 2.3.0 release

This commit is contained in:
squidfunk 2018-01-09 22:53:56 +01:00 committed by Martin Donath
parent 6d9a48fc80
commit b10e058906
8 changed files with 47 additions and 10 deletions

View File

@ -1,3 +1,8 @@
mkdocs-material-2.3.0 (2017-01-09)
* Added example (synonym: snippet) style for Admonition
* Added synonym abstract for summary style for Admonition
mkdocs-material-2.2.6 (2017-12-27) mkdocs-material-2.2.6 (2017-12-27)
* Added Turkish translations * Added Turkish translations
@ -50,6 +55,7 @@ mkdocs-material-2.1.0 (2017-11-19)
* Improved tabs appearance * Improved tabs appearance
* Improved CSS customizability by leveraging inheritance * Improved CSS customizability by leveraging inheritance
* Removed scroll shadows via background-attachment * Removed scroll shadows via background-attachment
* Removed breadcrumbs from header
mkdocs-material-2.0.4 (2017-11-05) mkdocs-material-2.0.4 (2017-11-05)

View File

@ -187,12 +187,12 @@ Qualifiers:
* `note` * `note`
* `seealso` * `seealso`
### Summary ### Abstract
Example: Example:
``` markdown ``` markdown
!!! summary !!! abstract
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod
nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor
massa, nec semper lorem quam in massa. massa, nec semper lorem quam in massa.
@ -200,7 +200,7 @@ Example:
Result: Result:
!!! summary !!! abstract
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod
nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor
@ -208,6 +208,7 @@ Result:
Qualifiers: Qualifiers:
* `abstract`
* `summary` * `summary`
* `tldr` * `tldr`
@ -407,6 +408,30 @@ Qualifiers:
* `bug` * `bug`
### Example
Example:
``` markdown
!!! example
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod
nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor
massa, nec semper lorem quam in massa.
```
Result:
!!! example
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod
nulla. Curabitur feugiat, tortor non consequat finibus, justo purus auctor
massa, nec semper lorem quam in massa.
Qualifiers:
* `example`
* `snippet`
### Quote ### Quote
Example: Example:

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.6 # Version 2.3.0
``` ```
### 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.3.0 <small>_ January 9, 2018</small>
* Added `example` (synonym: `snippet`) style for Admonition
* Added synonym `abstract` for `summary` style for Admonition
### 2.2.6 <small>_ December 27, 2017</small> ### 2.2.6 <small>_ December 27, 2017</small>
* Added Turkish translations * Added Turkish translations

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.6"> <meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.3.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 %}
@ -46,7 +46,7 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block styles %} {% block styles %}
<link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.6525f7f6.css"> <link rel="stylesheet" href="{{ base_url }}/assets/stylesheets/application.0e9c8aca.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 %}

View File

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

View File

@ -76,7 +76,7 @@
// Build representational classes // Build representational classes
@each $names, $appearance in ( @each $names, $appearance in (
summary tldr: $clr-light-blue-a400 "\E8D2", // subject abstract summary tldr: $clr-light-blue-a400 "\E8D2", // subject
info todo: $clr-cyan-a700 "\E88E", // info info todo: $clr-cyan-a700 "\E88E", // info
tip hint important : $clr-teal-a700 "\E80E", // whatshot tip hint important : $clr-teal-a700 "\E80E", // whatshot
success check done: $clr-green-a700 "\E876", // done success check done: $clr-green-a700 "\E876", // done
@ -85,6 +85,7 @@
failure fail missing: $clr-red-a200 "\E14C", // clear failure fail missing: $clr-red-a200 "\E14C", // clear
danger error: $clr-red-a400 "\E3E7", // flash_on danger error: $clr-red-a400 "\E3E7", // flash_on
bug: $clr-pink-a400 "\E868", // bug_report bug: $clr-pink-a400 "\E868", // bug_report
example: $clr-deep-purple-a400 "\E242", // format_list_numbered
quote cite: $clr-grey "\E244" // format_quote quote cite: $clr-grey "\E244" // format_quote
) { ) {
$tint: nth($appearance, 1); $tint: nth($appearance, 1);