Skip to content

Commit ccfcb9a

Browse files
committed
Update readme
1 parent 5f12a15 commit ccfcb9a

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

DOCUMENTATION.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
The `2.x` major version introduces several backwards compatibility breaks. The amount of required manual update steps
1616
depends on how many features were used. The following list _should_ cover the most important changes:
1717

18+
* Your template engine must support the `2.x` version. Check the available template engines in the [readme](README.md#available-template-engines).
1819
* The API variable `$factory` is no longer available. Use `$modules->get('TemplateEngineFactory')` to get an instance of
1920
the `\ProcessWire\TemplateEngineFactory` class.
2021
* The factory has a new configuration `templates_path`, indicating where the engine's templates are stored. This config

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Template Engine Factory
22

3-
[![Build Status](https://travis-ci.org/wanze/TemplateEngineFactory.svg?branch=next)](https://travis-ci.org/wanze/TemplateEngineFactory)
4-
[![StyleCI](https://github.styleci.io/repos/21270731/shield?branch=next)](https://github.styleci.io/repos/21270731)
3+
[![Build Status](https://travis-ci.org/wanze/TemplateEngineFactory.svg?branch=master)](https://travis-ci.org/wanze/TemplateEngineFactory)
4+
[![StyleCI](https://github.styleci.io/repos/21270731/shield?branch=master)](https://github.styleci.io/repos/21270731)
55
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
66
[![ProcessWire 3](https://img.shields.io/badge/ProcessWire-3.x-orange.svg)](https://github.com/processwire/processwire)
77

@@ -14,7 +14,7 @@ via template engine and encourages to separate logic from markup by implementing
1414
> Version `2.x` of this module differs from the `1.x` version in many ways. Modules providing template engines _must_ be
1515
installed with Composer. Twig is currently the only template engine implemented for the `2.x` major version. Please
1616
take a look at the [update guide](DOCUMENTATION.md#updating-from-1x-to-2x), as the new version introduces backwards
17-
compatibility breaks.
17+
compatibility breaks. The `1.x` version of the module is available on the [1.x branch](https://github.com/wanze/TemplateEngineFactory/tree/1.x).
1818

1919
## Requirements
2020

0 commit comments

Comments
 (0)