rest-api: Updates for new documentation site

The new documentation site uses traditional markdown instead
of the Confluence flavored version.  This required changes in
the mustache templates and the python that generates the files.

(cherry picked from commit 812156edfd)
This commit is contained in:
George Joseph
2023-06-26 06:55:49 -06:00
committed by Asterisk Development Team
parent 4aceecd3c2
commit a3725fa61f
5 changed files with 79 additions and 67 deletions

View File

@@ -1118,7 +1118,8 @@ ifeq ($(PYTHON),:)
else
@$(INSTALL) -d doc/rest-api
$(PYTHON) rest-api-templates/make_ari_stubs.py \
rest-api/resources.json .
--resources rest-api/resources.json --source-dir $(ASTTOPDIR) \
--dest-dir $(ASTTOPDIR)/doc/rest-api --docs-prefix ../
endif
check-alembic: makeopts