Merge pull request #1258 from virtualtam/refactor/phpdoc
Replace Doxygen with phpDocumentor to generate reference documentation
This commit is contained in:
commit
e664865e2e
4 changed files with 26 additions and 2382 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -22,15 +22,16 @@ inc/languages/*/LC_MESSAGES/shaarli.mo
|
||||||
|
|
||||||
# Development and test resources
|
# Development and test resources
|
||||||
coverage
|
coverage
|
||||||
doxygen
|
|
||||||
sandbox
|
sandbox
|
||||||
phpmd.html
|
phpmd.html
|
||||||
|
phpdoc.xml
|
||||||
|
|
||||||
# User plugin configuration
|
# User plugin configuration
|
||||||
plugins/*/config.php
|
plugins/*/config.php
|
||||||
|
|
||||||
# HTML documentation
|
# HTML documentation
|
||||||
doc/html/
|
doc/html/
|
||||||
|
doc/phpdoc/
|
||||||
|
|
||||||
# 3rd party themes
|
# 3rd party themes
|
||||||
tpl/*
|
tpl/*
|
||||||
|
|
7
Makefile
7
Makefile
|
@ -146,10 +146,9 @@ authors:
|
||||||
@git shortlog -sne > AUTHORS
|
@git shortlog -sne > AUTHORS
|
||||||
@rm .mailmap
|
@rm .mailmap
|
||||||
|
|
||||||
### generate Doxygen documentation
|
### generate phpDocumentor documentation
|
||||||
doxygen: clean
|
phpdoc: clean
|
||||||
@rm -rf doxygen
|
@docker run --rm -v $(PWD):/data -u `id -u`:`id -g` phpdoc/phpdoc
|
||||||
@doxygen Doxyfile
|
|
||||||
|
|
||||||
### generate HTML documentation from Markdown pages with MkDocs
|
### generate HTML documentation from Markdown pages with MkDocs
|
||||||
htmldoc:
|
htmldoc:
|
||||||
|
|
21
phpdoc.dist.xml
Normal file
21
phpdoc.dist.xml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" ?>
|
||||||
|
<phpdoc>
|
||||||
|
<title><![CDATA[Shaarli API Reference]]></title>
|
||||||
|
<parser>
|
||||||
|
<encoding>utf8</encoding>
|
||||||
|
<markers>
|
||||||
|
<item>FIXME</item>
|
||||||
|
<item>TODO</item>
|
||||||
|
<item>WIP</item>
|
||||||
|
</markers>
|
||||||
|
<target>doc/phpdoc</target>
|
||||||
|
</parser>
|
||||||
|
<transformer>
|
||||||
|
<target>doc/phpdoc</target>
|
||||||
|
</transformer>
|
||||||
|
<files>
|
||||||
|
<file>index.php</file>
|
||||||
|
<directory>application</directory>
|
||||||
|
<directory>plugins</directory>
|
||||||
|
</files>
|
||||||
|
</phpdoc>
|
Loading…
Reference in a new issue