add .phpdoc.xml and move ignore list

This commit is contained in:
theshka 2015-11-29 15:55:25 -06:00
parent 1dc410425f
commit 1ea81d4b41
2 changed files with 26 additions and 3 deletions

25
.phpdoc.xml Normal file
View 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>

View file

@ -15,9 +15,7 @@ echo
# generate phpdoc # generate phpdoc
phpdoc -d "$PHPDOC_SOURCE_DIR" \ phpdoc -d "$PHPDOC_SOURCE_DIR" \
-i "$PHPDOC_SOURCE_DIR/_build/" \ -c "$PHPDOC_SOURCE_DIR/.phpdoc.xml" \
-i "$PHPDOC_SOURCE_DIR/vendor/" \
-i "$PHPDOC_SOURCE_DIR/plugins/" -f "$PHPDOC_SOURCE_DIR/plugins/DummyPlugin.php" \
-t "$PHPDOC_TARGET_DIR" \ -t "$PHPDOC_TARGET_DIR" \
--title "$PHPDOC_TITLE" --title "$PHPDOC_TITLE"