Add module-specific readme files and enhance CLI command to include standalone plugin readme files #636
Labels
Infrastructure
Issues for the overall performance plugin infrastructure
[Plugin] Performance Lab
Issue relates to work in the Performance Lab Plugin only
[Type] Enhancement
A suggestion for improvement of an existing feature
Feature Description
Follow up to #635: Since we're going to publish modules as individual plugins, we will need to have
readme.txt
files for them. While this is required for the plugins anyway, it is also a great way for us to provide an overview for each individual module in the GitHub repository.We can add a
README.md
file in every module directory and then potentially transform it into areadme.txt
in a build step; or alternatively we can simply format theREADME.md
file as a plugin readme from the very start (see https://johnblackbourn.com/readme-md-plugin-on-wordpress-org/).For the initial scope of this implementation, let's limit the work to just the
images/webp-uploads
module, similar to #635.Requirements
readme.txt
file for the WebP Uploads standalone plugin should be added to theimage/webp-uploads
module folder. Some notes on the content:export-ignore
rule should be added to.gitattributes
that ensures that noreadme.txt
file from any module directory is included in an overall ZIP build, so that the overall Performance Lab plugin ZIP build does not include those readme files. Of course it still needs to include its ownreadme.txt
file though.webp-uploads
standalone plugin built via thebuild-plugins
script from Implement CLI command to for a build process to transform modules into standalone plugins #635 now contains the newreadme.txt
file.The text was updated successfully, but these errors were encountered: