From a2b81c9378eb28664efe38b00745c9945cfdcd9b Mon Sep 17 00:00:00 2001 From: Matias Griese Date: Thu, 23 Apr 2020 11:24:33 +0300 Subject: [PATCH] Added new plugin/theme blueprint options to upgrade guide --- UPGRADE-1.7.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/UPGRADE-1.7.md b/UPGRADE-1.7.md index bb056c65f..ea8b95c2d 100644 --- a/UPGRADE-1.7.md +++ b/UPGRADE-1.7.md @@ -133,11 +133,14 @@ * Plugins & Themes: Call `$plugin->autoload()` and `$theme->autoload()` automatically when object gets initialized * Make sure your code does not use `require` or `include` for loading classes -### Dependencies +### Plugin/Theme Blueprints (`blueprints.yaml`) -* Make sure you update your plugin/theme dependencies. I recommend setting Grav to either 1.6 or 1.7 and update your code/vendor to PHP 7.1 - - blueprints.yaml +* Please add: + ```yaml + slug: folder-name + type: plugin|theme + ``` +* Make sure you update your dependencies. I recommend setting Grav to either 1.6 or 1.7 and update your code/vendor to PHP 7.1 ```yaml dependencies: - { name: grav, version: '>=1.6.0' }