Skip to content

Commit 72c0b9c

Browse files
committed
Move tip outside DRY, and combine both the original and new options. Its target audience is first-timers.
1 parent a1ac3f9 commit 72c0b9c

1 file changed

Lines changed: 7 additions & 8 deletions

File tree

docs/admin-guide/add-ons.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@ dependencies = [
4646
]
4747
```
4848
49-
```{tip}
50-
Including the add-on version, or "pinning a version", ensures that it won't unintentionally get upgraded in the future.
51-
```
52-
5349
Also add the add-on to `zcml_package_includes` in the file {file}`backend/instance.yaml` to make sure its configuration will be loaded.
5450
5551
```yaml
@@ -92,10 +88,6 @@ eggs =
9288
collective.easyform = 4.2.1
9389
```
9490
95-
```{tip}
96-
Including the add-on version, or "pinning a version", ensures that it won't unintentionally get upgraded in the future.
97-
```
98-
9991
To actually download and install the new add-on, run the following command.
10092
10193
```shell
@@ -106,6 +98,13 @@ bin/buildout -N
10698
10799
`````
108100

101+
```{tip}
102+
You can control which version of an add-on to install through "version pinning."
103+
104+
- Specify the add-on version to avoid its unintentional upgrade.
105+
- Leave it off to always install the latest version.
106+
```
107+
109108
Now restart the backend.
110109

111110
```{seealso}

0 commit comments

Comments
 (0)