Skip to content

Commit 3fbe570

Browse files
committed
Merge branch 'release/1.3.0'
2 parents 44b4d32 + 53ef36e commit 3fbe570

File tree

17 files changed

+6184
-3302
lines changed

17 files changed

+6184
-3302
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88

9+
## [1.3.0] - 2022-07-18
10+
### Fixed
11+
- Files can now also be excluded via the `--exclude` option. ( [#13](https://github.com/pronamic/wp-documentor/issues/13) )
12+
13+
### Added
14+
- Added support for the `@ignore` tag. ( [#14](https://github.com/pronamic/wp-documentor/issues/14) )
15+
916
## [1.2.0] - 2022-01-27
1017
### Fixed
1118
- List of arguments is empty when `apply_filters` is returned instead of assigned to variable (props [@LuigiPulcini](https://github.com/LuigiPulcini)). ( [#11](https://github.com/pronamic/wp-documentor/issues/11) )
@@ -30,7 +37,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3037
### Added
3138
- First Release.
3239

33-
[Unreleased]: https://github.com/pronamic/wp-documentor/compare/1.2.0...HEAD
40+
[Unreleased]: https://github.com/pronamic/wp-documentor/compare/1.3.0...HEAD
41+
[1.3.0]: https://github.com/pronamic/wp-documentor/compare/1.2.0...1.3.0
3442
[1.2.0]: https://github.com/pronamic/wp-documentor/compare/1.1.1...1.2.0
3543
[1.1.1]: https://github.com/pronamic/wp-documentor/compare/1.1.0...1.1.1
3644
[1.1.0]: https://github.com/pronamic/wp-documentor/compare/1.0.0...1.1.0

bin/wp-documentor

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ $application->register( 'parse' )
9898
$exclude = $input->getOption( 'exclude' );
9999

100100
if ( null !== $exclude ) {
101-
$finder->exclude( $exclude );
101+
$finder->notPath( $exclude );
102102
}
103103

104104
/**

composer.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@
5353
"bin/wp-documentor parse tests/source --format=phpdocumentor-rst --type=filters --relative=tests/docs --output=tests/docs/phpdocumentor-filters.rst",
5454
"bin/wp-documentor parse wordpress --format=markdown --relative=tests/docs --memory-limit=-1 --output=tests/docs/wordpress-hooks.md",
5555
"bin/wp-documentor parse tests/issue-10 --format=markdown --output=tests/issue-10/hooks.md --prefix=prefix_1 --prefix=prefix_2",
56-
"bin/wp-documentor parse tests/issue-11 --format=markdown --output=tests/issue-11/hooks.md"
56+
"bin/wp-documentor parse tests/issue-11 --format=markdown --output=tests/issue-11/hooks.md",
57+
"bin/wp-documentor parse tests/issue-13 --exclude=file-exclude.php --exclude=folder-exclude/ --format=markdown --output=tests/issue-13/hooks.md",
58+
"bin/wp-documentor parse tests/issue-14 --format=markdown --output=tests/issue-14/hooks.md"
5759
]
5860
},
5961
"require-dev": {

0 commit comments

Comments
 (0)