]> git.immae.eu Git - github/shaarli/Shaarli.git/commitdiff
doc: add phpDocumentor configuration
authorVirtualTam <virtualtam@flibidi.net>
Fri, 18 Jan 2019 21:24:58 +0000 (22:24 +0100)
committerVirtualTam <virtualtam@flibidi.net>
Fri, 18 Jan 2019 21:24:58 +0000 (22:24 +0100)
See:
- https://phpdoc.org/
- https://docs.phpdoc.org/references/configuration.html
- https://github.com/phpDocumentor/phpDocumentor2

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
.gitignore
phpdoc.dist.xml [new file with mode: 0644]

index 414ff6d51c9ab85374ba527ee8f3d561915d8ab7..ce2ebe28bd8cdd533b06fc82f62c9a09bb1b809d 100644 (file)
@@ -25,12 +25,14 @@ coverage
 doxygen
 sandbox
 phpmd.html
+phpdoc.xml
 
 # User plugin configuration
 plugins/*/config.php
 
 # HTML documentation
 doc/html/
+doc/phpdoc/
 
 # 3rd party themes
 tpl/*
diff --git a/phpdoc.dist.xml b/phpdoc.dist.xml
new file mode 100644 (file)
index 0000000..3878550
--- /dev/null
@@ -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>