File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -134,6 +134,12 @@ $PHP_BINARY $PHPDOC_BIN -t php_api_reference;
134134if [ $? -eq 0 ]; then
135135 echo -n ' Remove unneeded from phpDocumentor output… ' ;
136136 rm -rf ./php_api_reference/files ./php_api_reference/graphs ./php_api_reference/indices ./php_api_reference/packages;
137+ echo -n ' Remove Symfony namespace from index… ' ;
138+ awk ' NR==FNR{if (/.*"fqsen": "\\\\Symfony.*/) for (i=-1;i<=3;i++) del[NR+i]; next} !(FNR in del)' \
139+ ./php_api_reference/js/searchIndex.js \
140+ ./php_api_reference/js/searchIndex.js \
141+ > ./php_api_reference/js/searchIndex.new.js;
142+ mv -f ./php_api_reference/js/searchIndex.new.js ./php_api_reference/js/searchIndex.js;
137143 echo -n " Copy phpDocumentor output to ${OUTPUT_DIR} … " ;
138144 cp -rf ./php_api_reference/* $OUTPUT_DIR ;
139145 echo -n ' Remove surplus… ' ;
You can’t perform that action at this time.
0 commit comments