Skip to content

Commit e63e83a

Browse files
authored
Merge pull request #1632 from plone/Fix-for-plone/cookiecutter-zope-instance
Fix for plone/cookiecutter-zope-instance 2.x: naming zcml variables
2 parents 47909cf + 7b7dcae commit e63e83a

File tree

1 file changed

+4
-17
lines changed

1 file changed

+4
-17
lines changed

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

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -173,14 +173,9 @@ collective.easyform
173173

174174
Add it to {file}`instance.yaml` to let Zope know that this add-on should be loaded:
175175

176-
```{code-block} yaml
177-
:emphasize-lines: 3-6
176+
```yaml
178177
default_context:
179-
load_zcml:
180-
package_includes: [
181-
'project_title',
182-
'collective.easyform',
183-
]
178+
zcml_package_includes: project_title, collective.easyform
184179
```
185180
186181
Stop the backend with {kbd}`ctrl-c`.
@@ -221,11 +216,7 @@ Add it to {file}`instance.yaml` to let Zope know that this add-on should be load
221216
222217
```yaml
223218
default_context:
224-
load_zcml:
225-
package_includes: [
226-
'project_title',
227-
'collective.easyform',
228-
]
219+
zcml_package_includes: project_title, collective.easyform
229220
```
230221

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

266257
```yaml
267258
default_context:
268-
load_zcml:
269-
package_includes: [
270-
'project_title',
271-
'collective.easyform',
272-
]
259+
zcml_package_includes: project_title, collective.easyform
273260
```
274261
275262
Stop the backend with {kbd}`ctrl-c`.

0 commit comments

Comments
 (0)