switch to doxygen for api docs

This commit is contained in:
Florian Schlichting 2018-01-11 23:43:25 +01:00
parent b8df885484
commit 59b4c2c8ed
4 changed files with 2498 additions and 3 deletions

View File

@ -16,8 +16,8 @@ nodocs: htdocs/always.php built-locale
.PHONY: all
all: htdocs/always.php built-docs built-locale
built-docs: docs/phpdoc.ini htdocs/*.php inc/*.php docs/translation.rst
apigen generate --quiet --title=DAViCal --todo --tree --deprecated -s inc -s htdocs --exclude caldav-client.php -d docs/api || phpdoc -c docs/phpdoc.ini || echo "NOTICE: Failed to build API docs"
built-docs: docs/phpdoc.ini docs/Doxyfile inc/*.php docs/translation.rst
doxygen docs/Doxyfile || apigen generate --quiet --title=DAViCal --todo --tree --deprecated -s inc --exclude caldav-client.php -d docs/api || phpdoc -c docs/phpdoc.ini || echo "NOTICE: Failed to build API docs"
rst2pdf docs/translation.rst || echo "NOTICE: Failed to build ReST docs"
touch $@

2
debian/control vendored
View File

@ -10,7 +10,7 @@ Build-Depends: debhelper (>= 9),
jdupes,
libawl-php (>= 0.58-1~), libawl-php (<< 0.59),
gettext,
php-apigen,
doxygen,
php-cli | php5-cli,
rst2pdf
Vcs-git: https://gitlab.com/davical-project/davical.git

1
debian/rules vendored
View File

@ -21,4 +21,5 @@ override_dh_installchangelogs:
override_dh_installdocs:
dh_installdocs
find debian/davical-doc/ -name '*.md5' -delete
jdupes -rl debian/davical-doc/

2494
docs/Doxyfile Normal file

File diff suppressed because it is too large Load Diff