add .phpdoc.xml and move ignore list
This commit is contained in:
parent
1dc410425f
commit
1ea81d4b41
2 changed files with 26 additions and 3 deletions
25
.phpdoc.xml
Normal file
25
.phpdoc.xml
Normal file
|
@ -0,0 +1,25 @@
|
|||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<phpdoc>
|
||||
<files>
|
||||
<directory>lib/*</directory>
|
||||
<file>plugins/DummyPlugin.php</file>
|
||||
<ignore>_build/*</ignore>
|
||||
<ignore>config/*</ignore>
|
||||
<ignore>content-sample/*</ignore>
|
||||
<ignore>themes/*</ignore>
|
||||
<ignore>plugins/*</ignore>
|
||||
<ignore>vendor/*</ignore>
|
||||
<ignore>.htaccess</ignore>
|
||||
<ignore>*.git</ignore>
|
||||
<ignore>.gitignore</ignore>
|
||||
<ignore>*.xml</ignore>
|
||||
<ignore>*.yml</ignore>
|
||||
<ignore>*.json</ignore>
|
||||
<ignore>*.lock</ignore>
|
||||
<ignore>*.phar</ignore>
|
||||
<ignore>*.md</ignore>
|
||||
<ignore>*LICENSE</ignore>
|
||||
<ignore>index.php</file>
|
||||
<ignore>index.php.dist</ignore>
|
||||
</files>
|
||||
</phpdoc>
|
|
@ -15,9 +15,7 @@ echo
|
|||
|
||||
# generate phpdoc
|
||||
phpdoc -d "$PHPDOC_SOURCE_DIR" \
|
||||
-i "$PHPDOC_SOURCE_DIR/_build/" \
|
||||
-i "$PHPDOC_SOURCE_DIR/vendor/" \
|
||||
-i "$PHPDOC_SOURCE_DIR/plugins/" -f "$PHPDOC_SOURCE_DIR/plugins/DummyPlugin.php" \
|
||||
-c "$PHPDOC_SOURCE_DIR/.phpdoc.xml" \
|
||||
-t "$PHPDOC_TARGET_DIR" \
|
||||
--title "$PHPDOC_TITLE"
|
||||
|
||||
|
|
Loading…
Reference in a new issue