diff options
author | VirtualTam <virtualtam@flibidi.net> | 2019-01-18 22:24:58 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2019-01-18 22:24:58 +0100 |
commit | 1c53591a43cfea0c7c7ca0ed4cd223cef842eaf3 (patch) | |
tree | 7781fb92e2050cd919cdb995655bbfdac6654c4b | |
parent | ff3b5dc5542ec150f0d9b447394364a15e9156d0 (diff) | |
download | Shaarli-1c53591a43cfea0c7c7ca0ed4cd223cef842eaf3.tar.gz Shaarli-1c53591a43cfea0c7c7ca0ed4cd223cef842eaf3.tar.zst Shaarli-1c53591a43cfea0c7c7ca0ed4cd223cef842eaf3.zip |
doc: add phpDocumentor configuration
See:
- https://phpdoc.org/
- https://docs.phpdoc.org/references/configuration.html
- https://github.com/phpDocumentor/phpDocumentor2
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | phpdoc.dist.xml | 21 |
2 files changed, 23 insertions, 0 deletions
@@ -25,12 +25,14 @@ coverage | |||
25 | doxygen | 25 | doxygen |
26 | sandbox | 26 | sandbox |
27 | phpmd.html | 27 | phpmd.html |
28 | phpdoc.xml | ||
28 | 29 | ||
29 | # User plugin configuration | 30 | # User plugin configuration |
30 | plugins/*/config.php | 31 | plugins/*/config.php |
31 | 32 | ||
32 | # HTML documentation | 33 | # HTML documentation |
33 | doc/html/ | 34 | doc/html/ |
35 | doc/phpdoc/ | ||
34 | 36 | ||
35 | # 3rd party themes | 37 | # 3rd party themes |
36 | tpl/* | 38 | tpl/* |
diff --git a/phpdoc.dist.xml b/phpdoc.dist.xml new file mode 100644 index 00000000..3878550e --- /dev/null +++ b/phpdoc.dist.xml | |||
@@ -0,0 +1,21 @@ | |||
1 | <?xml version="1.0" encoding="UTF-8" ?> | ||
2 | <phpdoc> | ||
3 | <title><![CDATA[Shaarli API Reference]]></title> | ||
4 | <parser> | ||
5 | <encoding>utf8</encoding> | ||
6 | <markers> | ||
7 | <item>FIXME</item> | ||
8 | <item>TODO</item> | ||
9 | <item>WIP</item> | ||
10 | </markers> | ||
11 | <target>doc/phpdoc</target> | ||
12 | </parser> | ||
13 | <transformer> | ||
14 | <target>doc/phpdoc</target> | ||
15 | </transformer> | ||
16 | <files> | ||
17 | <file>index.php</file> | ||
18 | <directory>application</directory> | ||
19 | <directory>plugins</directory> | ||
20 | </files> | ||
21 | </phpdoc> | ||