diff --git a/README.md b/README.md index fa9e285..197d66f 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,16 @@ Add [Kint](http://raveren.github.io/kint/) debugging tools to a Concrete5 website. > Kint is a tool designed to present your debugging data in the absolutely best way possible. +__Disclaimer :__ I am not the developer of Kint, see [Kint documentation](http://raveren.github.io/kint/#intro) for more informations. + ### Usage -``` +The use of Kint is described in the [official documentation](http://raveren.github.io/kint/#intro). + +__For example :__ + +```php d($this->getRelativePath()); d($_SERVER); ``` @@ -14,6 +20,18 @@ d($_SERVER); __Output :__ ![debug_kit](https://cloud.githubusercontent.com/assets/6225979/8916186/1b152936-34aa-11e5-968e-7a79075ac559.png) ---- -__Note :__ I am not the developer of Kint, see [Kint documentation](http://raveren.github.io/kint/#intro) for more informations. +Note that Kint will be disabled if `concrete.debug.display_errors` is `false`. + +> ![error](https://cloud.githubusercontent.com/assets/6225979/9530544/c7e4d7d8-4d00-11e5-8b98-069c4b655c74.png) + +If you want to manually enable/disable Kint, you can use : + +```php + .kint ~ .kint { margin-top: 0px !important; } + +.kint footer { + background-color: white; + font-size: 11px; +} + +.kint footer li { + color: #444; +} diff --git a/package.json b/package.json index 7eeb43b..c8e1eac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "concrete5-kint-debug", - "version": "0.9.4", + "version": "0.9.5", "description": "Add Kint debugging tools to a Concrete5 website", "main": "gulpfile.js", "scripts": {