/docs is included in the final package (as is PHPStan and PHPUnit config). The package is 4MB in size, with the docs being 1.2MB, making it 1/3 of the size, while it's very unlikely the docs will be read from the production install of the package, the same principle applies as for tests which are excluded, linking to the repo where the docs can be read should be enough for this purpose.
System details
ES-PHP client version 7.17.2 release package via Packagis
Summary of problem or feature request
/docs
is included in the final package (as is PHPStan and PHPUnit config). The package is 4MB in size, with the docs being 1.2MB, making it 1/3 of the size, while it's very unlikely the docs will be read from the production install of the package, the same principle applies as for tests which are excluded, linking to the repo where the docs can be read should be enough for this purpose.System details