Skip to content

Commit

Permalink
Prepare 2.5.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Jan 13, 2018
1 parent 01c9aa5 commit b864637
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 8 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
mkdocs-material-2.5.0 (2017-01-13)

* Added support for right-to-left languages

mkdocs-material-2.4.0 (2017-01-11)

* Added focus state for clipboard buttons
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ theme:
## What to expect

* Responsive design and fluid layout for all kinds of screens and devices,
designed to serve your project documentation in a user-friendly way with
optimal readability.
designed to serve your project documentation in a user-friendly way in 17
languages with optimal readability.

* Easily customizable primary and accent color, fonts, favicon and logo;
straight forward localization through theme extension; integrated with Google
Expand Down
18 changes: 17 additions & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,12 @@ The `mkdocs` executable is provided as an entrypoint, `serve` is the default
command. Start the development server in your project root with:

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

If you're using Windows command prompt (`cmd.exe`), substitute `${PWD}` with
`"%cd%"`.

[8]: https://hub.docker.com/r/squidfunk/mkdocs-material/

## Usage
Expand Down Expand Up @@ -324,6 +327,19 @@ Pull Request.

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

#### Text direction

> Default: `ltr`
Material supports both, left-to-right (`ltr`) and right-to-left (`rtl`) text
direction. This enables more languages like Arabic, Hebrew, Syriac and others
to be used with the theme:

```
theme:
direction: rtl
```

#### Site search

> Default: `en`
Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ theme:
## What to expect

* Responsive design and fluid layout for all kinds of screens and devices,
designed to serve your project documentation in a user-friendly way with
optimal readability.
designed to serve your project documentation in a user-friendly way in 17
languages with optimal readability.

* Easily customizable primary and accent color, fonts, favicon and logo;
straight forward localization through theme extension; integrated with Google
Expand Down
6 changes: 5 additions & 1 deletion docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ To determine the currently installed version, use the following command:

``` sh
pip show mkdocs-material | grep -E ^Version
# Version 2.4.0
# Version 2.5.0
```

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

## Changelog

### 2.5.0 <small>_ January 13, 2018</small>

* Added support for right-to-left languages

### 2.4.0 <small>_ January 11, 2018</small>

* Added focus state for clipboard buttons
Expand Down
2 changes: 1 addition & 1 deletion material/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -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.4.0">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-2.5.0">
{% endblock %}
{% block htmltitle %}
{% if page and page.meta and page.meta.title %}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mkdocs-material",
"version": "2.4.0",
"version": "2.5.0",
"description": "A Material Design theme for MkDocs",
"keywords": [
"mkdocs",
Expand Down

0 comments on commit b864637

Please sign in to comment.