Skip to content

Commit edd106a

Browse files
authored
Update CONTRIBUTING.md
1 parent 10062b5 commit edd106a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

CONTRIBUTING.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,23 @@ Cum sociis [natoque][2] penatibus et magnis dis.
2424
## New features
2525

2626
Since we will not maintain different versions of the documentation for each minor Contao version, some features will be documented which are only available in newer Contao version. In such a case, document the _old_ way first (if applicable), then show the new way with a notice of the minimum Contao version required.
27+
28+
You can use the following short code to automatically add a note for features of a specific Contao version:
29+
30+
```
31+
{{< version "4.7" >}}
32+
```
33+
34+
### Example:
35+
36+
```markdown
37+
# DCA callbacks
38+
39+
## PHP array configuration
40+
41+
42+
43+
## Service tag
44+
45+
{{< version "4.7" >}}
46+
```

0 commit comments

Comments
 (0)