Skip to content

Commit 670ea17

Browse files
committed
Allow marking module tags as being added in a particular version.
1 parent 1c17393 commit 670ea17

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

mkdocs_inspircd/templates/module.md.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,11 @@ To load this module use the following `<module>` tag:
3636
#### `<{{ tag.name | join('>` &amp; `<') }}>`
3737
{% endif %}
3838

39+
{% if tag.added %}
40+
!!! note "[New in v{{ tag.added }}!](/{{ tag.added | first }}/change-log/#inspircd-{{ tag.added | replace(".", "") }})"
41+
If you are using an older version you will need to upgrade to use this tag.
42+
{% endif %}
43+
3944
{{ tag.description }}
4045

4146
{% if tag.attributes %}

0 commit comments

Comments
 (0)