documentation: Add since tag to xmldocs DTD

Adds the since tag to the documentation DTD so
that individual applications, functions, etc.
can now specify when they were added to Asterisk.

This tag is added at the individual application,
function, etc. level as opposed to at the module
level because modules can expand over time as new
functionality is added, and granularity only
to the module level would generally not be useful.

This enables the ability to more easily determine
when new functionality was added to Asterisk, down
to minor version as opposed to just by major version.
This makes it easier for users to write more portable
dialplan if desired to not use functionality that may
not be widely available yet.

ASTERISK-29896 #close

Change-Id: Ibbb35c702d8038bdc3fd0a944fbfa69384cc15d5
This commit is contained in:
Naveen Albert
2022-02-05 01:11:43 +00:00
committed by Kevin Harwell
parent e26b57984f
commit c35e205bef
2 changed files with 14 additions and 5 deletions

View File

@@ -39,6 +39,11 @@
/*** DOCUMENTATION
<application name="Reload" language="en_US">
<since>
<version>16.20.0</version>
<version>18.6.0</version>
<version>19.0.0</version>
</since>
<synopsis>
Reloads an Asterisk module, blocking the channel until the reload has completed.
</synopsis>