Update README and script to include star ratings for plugins#2
Open
Update README and script to include star ratings for plugins#2
Conversation
- Added star ratings to plugin listings in README.md for better visibility of plugin popularity. - Modified `fetch_repo_info` function in `update_plugins_readme.py` to retrieve and return star count from GitHub API. - Updated HTML generation in `generate_html_table` to display star ratings next to plugin names.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the
README.mdand theupdate_plugins_readme.pyscript to display the number of GitHub stars for each WordPress plugin repository. The main improvements are the addition of star counts next to each plugin in the README and enhancements to the script to fetch and render this information automatically.Enhancements to plugin metadata display:
README.mdnow shows the number of GitHub stars next to each plugin name, making it easier for users to gauge the popularity of each plugin at a glance. [1] [2]Improvements to the update script:
fetch_repo_descriptionfunction was renamed tofetch_repo_infoand now retrieves both the repository description and star count from the GitHub API. [1] [2]