xmldoc: Allow XML docs to be reloaded.

The XML docs are currently only loaded on
startup with no way to update them during runtime.
This makes it impossible to load modules that
use ACO/Sorcery (which require documentation)
if they are added to the source tree and built while
Asterisk is running (e.g. external modules).

This adds a CLI command to reload the XML docs
during runtime so that documentation can be updated
without a full restart of Asterisk.

ASTERISK-30289 #close

Change-Id: I4f265b0e5517e757c5453a0f241201a5788d3a07
This commit is contained in:
Naveen Albert
2022-11-05 12:11:08 +00:00
committed by Friendly Automation
parent 0fb48fb751
commit 86a40686e4
3 changed files with 109 additions and 24 deletions

View File

@@ -0,0 +1,5 @@
Subject: xmldocs
The XML documentation can now be reloaded without restarting
Asterisk, which makes it possible to load new modules that
enforce documentation without restarting Asterisk.