Skip to content

Commit 5305c2a

Browse files
committed
Fix for plone/cookiecutter-zope-instance 2.x
1 parent 47909cf commit 5305c2a

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

docs/install/manage-add-ons-packages.md

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -176,11 +176,7 @@ Add it to {file}`instance.yaml` to let Zope know that this add-on should be load
176176
```{code-block} yaml
177177
:emphasize-lines: 3-6
178178
default_context:
179-
load_zcml:
180-
package_includes: [
181-
'project_title',
182-
'collective.easyform',
183-
]
179+
zcml_package_includes: project_title, collective.easyform
184180
```
185181

186182
Stop the backend with {kbd}`ctrl-c`.
@@ -221,11 +217,7 @@ Add it to {file}`instance.yaml` to let Zope know that this add-on should be load
221217

222218
```yaml
223219
default_context:
224-
load_zcml:
225-
package_includes: [
226-
'project_title',
227-
'collective.easyform',
228-
]
220+
zcml_package_includes: project_title, collective.easyform
229221
```
230222
231223
Stop the backend with {kbd}`ctrl-c`.
@@ -265,11 +257,7 @@ Add it to {file}`instance.yaml` to let Zope know that this add-on should be load
265257

266258
```yaml
267259
default_context:
268-
load_zcml:
269-
package_includes: [
270-
'project_title',
271-
'collective.easyform',
272-
]
260+
zcml_package_includes: project_title, collective.easyform
273261
```
274262

275263
Stop the backend with {kbd}`ctrl-c`.

0 commit comments

Comments
 (0)