Skip to content

Refresh documentation and community health files#38

Merged
GaryJones merged 7 commits into
mainfrom
GaryJones/docs-refresh
Jun 11, 2026
Merged

Refresh documentation and community health files#38
GaryJones merged 7 commits into
mainfrom
GaryJones/docs-refresh

Conversation

@GaryJones

@GaryJones GaryJones commented Jun 11, 2026

Copy link
Copy Markdown
Owner

The project's documentation had drifted a long way from the code it describes. The readme headers that WordPress.org reads still claimed support for WordPress 6.6 and PHP 8.2, the contributing guide pointed at a develop branch and Composer scripts that have never existed, and several files shipped with literal ... placeholders left over from the original scaffold.

This refresh brings the README headers up to the actual support window (WordPress 6.9–7.0, PHP 8.4), fixes the broken Codex link, the compose require typo and the mixed list markup, renames GitHub Updater to its current Git Updater identity, and adds a CI badge plus new Development and FAQ sections covering the wp-env setup, the Composer scripts, and why PHPUnit stays capped at 9.6 and composer.lock is uncommitted. The README passes the WordPress.org readme validator, with the only error being the restricted word "plugin" in the deliberately placeholder name.

Around it, the changelog folds its contradictory 1.0.0 placeholder entry into Unreleased (no tags exist yet) and gains the Keep a Changelog reference and a corrected compare link; the Code of Conduct moves from Contributor Covenant 1.4 to the official 2.1 text, keeping the existing contact address; the contributing and support guides are rewritten around the real workflow; a security policy directs reporters to GitHub's private vulnerability reporting; the legacy markdown issue templates become labelled YAML forms with a config that disables blank issues; and the PR template's bare [CONTRIBUTING] reference becomes a working link with a checklist that names the actual commands.

Note: this assumes the Composer script names from #40 (test:unit, test:integration, cs-fix), so it should merge after that PR.

The readme headers that WordPress.org reads were stale: the plugin
requires PHP 8.4 and WordPress 6.9, and is tested up to 7.0. Alongside
that, fix the 'compose require' typo, the dead Codex link (its content
now lives in the HelpHub manage-plugins article), the mixed numbered and
bulleted installation lists, and the GitHub Updater reference, since
that project is now Git Updater. Fill the empty Tags header, add a CI
badge, and extend the copyright to 2026.

New Development and FAQ sections document the wp-env setup, the
Composer scripts, and the two deliberate oddities consumers ask about:
the PHPUnit 9.6 cap (the WordPress core test framework supports
nothing newer) and the absent composer.lock (consumers should resolve
their own dependencies).
The only release entry was a 1.0.0 placeholder with an unknown date,
contradicting the 0.1.0 version used throughout the codebase, and no
tags exist yet. Move everything under Unreleased until a first release
is actually cut, add the standard Keep a Changelog reference line, fix
the compare link which was missing its /compare/ path segment, and use
https for the Semantic Versioning link.
Replace the version 1.4 text with the official 2.1 release, which adds
enforcement guidelines and broader protected characteristics, and uses
https links throughout. The existing contact email is retained.
Both documents were unfinished, with literal '...' placeholders, a
garbled sentence, and a 'Checking You Changes' typo. The contributing
guide also pointed at a nonexistent develop branch, a 'composer phpcs'
script that was never defined, and bare phpunit/infection commands that
no longer match how the test suites run. Rewrite both around the real
Composer scripts and the wp-env workflow, link the Code of Conduct and
the README's Development section, state that issues are for bug reports
and feature requests, and replace the Twitter mention with WordPress
Slack.
Point reporters at GitHub's private vulnerability reporting, which is
enabled on this repository, so security issues are not disclosed
through the public issue tracker. Only the latest release is supported.
The two legacy markdown templates were inconsistently named
(bug_report.md vs feature-request.md) and applied no labels, so issues
arrived untriaged. Replace them with GitHub issue forms that require
the essentials up front, including WordPress, PHP and plugin versions
for bugs, and label new issues as bug or enhancement automatically.
A config.yml disables blank issues and points general questions at the
support document.
The [CONTRIBUTING] reference had no link definition, so it rendered as
literal bracketed text in every pull request. Make it a real link, and
replace the vague code style checklist item with the actual commands
contributors are expected to run: composer test and composer cs.
@GaryJones GaryJones added the documentation Improvements or additions to documentation label Jun 11, 2026
@GaryJones GaryJones merged commit c947298 into main Jun 11, 2026
3 checks passed
@GaryJones GaryJones deleted the GaryJones/docs-refresh branch June 11, 2026 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant