File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ build-links: build-fetch-docs
75
75
find src -type f -name " *.rst" -print0 | xargs -0 perl -pi -e ' s|`([^<]+)<([^>]+)\.rst>`_+|:doc:`\1<\2>`|g'
76
76
echo λλλ replace links to source files
77
77
PHP_CS_FIXER_VERSION=$(shell cat download/version.json | jq .number) && \
78
- find src -type f -name " *.rst" -print0 | xargs -0 perl -pi -e " s|\` ([^<]+)<(?:\./)?(?:\.\./)+src/([^>]+)\.php>\` _+|\` \1<https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v$$ {PHP_CS_FIXER_VERSION}/src/\2 .php>\` _|g"
78
+ find src -type f -name " *.rst" -print0 | xargs -0 perl -pi -e " s|\` ([^<]+)<(?:\./)?(?:\.\./)+( src\|tests)+ /([^>]+)\.php>\` _+|\` \1<https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/v$$ {PHP_CS_FIXER_VERSION}/\2/\3 .php>\` _|g"
79
79
80
80
.PHONY : build-install-deps
81
81
.SILENT :
You can’t perform that action at this time.
0 commit comments