shields
shields copied to clipboard
refactor - usage renderVersionBadge - part 2 [amo archlinux aur bower cdnjs chromewebstore cocoapods conan conda cookbook cpan cran crates ctan curseforge debian docker dub eclipsemarketplace elmpackage f-droid factorio fedora feedz flathub galaxytoolshed gem gitea github gitlab greasyfork hackage hexpm homebrew itunes jenkins jetbrains jitpack jsr mavenmetadata modrinth nexus npm nuget openvsx opm ore packagist piwheels polymart pub puppetforge pypi ros scoop snapcraft spack spiget thunderstore twitch ubuntu vaadindirectory vcpkg visualstudioappcenter visualstudiomarketplace vpm wordpress]
This pull request refactors the codebase to use the renderVersionBadge
function for rendering version badges.
Refactored services are wordpress, conda and aur.
The pull request also includes tests for all the new options.
This change is part of the ongoing work to address issue #2026 - refactor all versions to use renderVersionBadge
And also helps archive user override for version prefix as mentioned in #10574
new optoins for renderVersionBadge
added in this PR are prefix and postfix for the renderVersionBadge
message.
we need to run tests for all services that use renderVersionBadge
as i changed the function.