Skip to content

Commit b864637

Browse files
committed
Prepare 2.5.0 release
1 parent 01c9aa5 commit b864637

7 files changed

Lines changed: 32 additions & 8 deletions

File tree

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
mkdocs-material-2.5.0 (2017-01-13)
2+
3+
* Added support for right-to-left languages
4+
15
mkdocs-material-2.4.0 (2017-01-11)
26

37
* Added focus state for clipboard buttons

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ theme:
4242
## What to expect
4343
4444
* Responsive design and fluid layout for all kinds of screens and devices,
45-
designed to serve your project documentation in a user-friendly way with
46-
optimal readability.
45+
designed to serve your project documentation in a user-friendly way in 17
46+
languages with optimal readability.
4747
4848
* Easily customizable primary and accent color, fonts, favicon and logo;
4949
straight forward localization through theme extension; integrated with Google

docs/getting-started.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,12 @@ The `mkdocs` executable is provided as an entrypoint, `serve` is the default
104104
command. Start the development server in your project root with:
105105

106106
```
107-
docker run --rm -it -p 8000:8000 -v `pwd`:/docs squidfunk/mkdocs-material
107+
docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material
108108
```
109109

110+
If you're using Windows command prompt (`cmd.exe`), substitute `${PWD}` with
111+
`"%cd%"`.
112+
110113
[8]: https://hub.docker.com/r/squidfunk/mkdocs-material/
111114

112115
## Usage
@@ -324,6 +327,19 @@ Pull Request.
324327

325328
[16]: https://www.w3schools.com/tags/ref_language_codes.asp
326329

330+
#### Text direction
331+
332+
> Default: `ltr`
333+
334+
Material supports both, left-to-right (`ltr`) and right-to-left (`rtl`) text
335+
direction. This enables more languages like Arabic, Hebrew, Syriac and others
336+
to be used with the theme:
337+
338+
```
339+
theme:
340+
direction: rtl
341+
```
342+
327343
#### Site search
328344

329345
> Default: `en`

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ theme:
2929
## What to expect
3030
3131
* Responsive design and fluid layout for all kinds of screens and devices,
32-
designed to serve your project documentation in a user-friendly way with
33-
optimal readability.
32+
designed to serve your project documentation in a user-friendly way in 17
33+
languages with optimal readability.
3434
3535
* Easily customizable primary and accent color, fonts, favicon and logo;
3636
straight forward localization through theme extension; integrated with Google

docs/release-notes.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ To determine the currently installed version, use the following command:
1212

1313
``` sh
1414
pip show mkdocs-material | grep -E ^Version
15-
# Version 2.4.0
15+
# Version 2.5.0
1616
```
1717

1818
### Material 1.x to 2.x
@@ -38,6 +38,10 @@ pip show mkdocs-material | grep -E ^Version
3838

3939
## Changelog
4040

41+
### 2.5.0 <small>_ January 13, 2018</small>
42+
43+
* Added support for right-to-left languages
44+
4145
### 2.4.0 <small>_ January 11, 2018</small>
4246

4347
* Added focus state for clipboard buttons

material/base.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<meta name="lang:{{ key }}" content="{{ lang.t(key) }}">
3535
{% endfor %}
3636
<link rel="shortcut icon" href="{{ base_url }}/{{ config.theme.favicon }}">
37-
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.4.0">
37+
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.5.0">
3838
{% endblock %}
3939
{% block htmltitle %}
4040
{% if page and page.meta and page.meta.title %}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mkdocs-material",
3-
"version": "2.4.0",
3+
"version": "2.5.0",
44
"description": "A Material Design theme for MkDocs",
55
"keywords": [
66
"mkdocs",

0 commit comments

Comments
 (0)