Use Doxygen to generate the API documentation. (#1558)

* Integrated Doxygen documentation into Sphinx

Signed-off-by: lns <matzeton@googlemail.com>
This commit is contained in:
Toni
2022-05-29 13:44:52 +02:00
committed by GitHub
parent 33f9729ee4
commit 6b7b23b01d
11 changed files with 2728 additions and 25 deletions
+8 -5
View File
@@ -22,8 +22,8 @@ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
.PHONY: help
help:
@echo "Please use \`make <target>' where <target> is one of"
@echo " release to make standalone HTML files for ntop documentation release"
@echo " html to make standalone HTML files"
@echo " release to make standalone Doxygen/HTML files for ntop documentation release"
@echo " html to make standalone Doxygen/HTML files"
@echo " dirhtml to make HTML files named index.html in directories"
@echo " singlehtml to make a single large HTML file"
@echo " pickle to make pickle files"
@@ -50,12 +50,15 @@ help:
.PHONY: clean
clean:
rm -rf $(BUILDDIR)/*
cd doxygen; make clean
rm -rf $(BUILDDIR)/* api doxygen
.PHONY: html
html:
cd doxygen; make
@test -r Doxyfile.cfg || { \
echo 'Doxyfile.cfg does not exist; Please run $(realpath ..)/autogen.sh or $(realpath ..)/configure first.'; \
false; \
}
doxygen Doxyfile.cfg
$(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html
@echo
@echo "Build finished. The HTML pages are in $(BUILDDIR)/html."