Skip to content

docs: make docs/ the source of the wiki - #4

Merged
muhammetsafak merged 2 commits into
mainfrom
docs/wiki-source
Nov 22, 2026
Merged

muhammetsafak merged 2 commits into
mainfrom
docs/wiki-source

Conversation

@muhammetsafak

Copy link
Copy Markdown
Contributor

Make docs/ the source of the wiki pages (ADR-004).

  • Flat page set with the wiki's page names (Home.md, Installation.md, Quick-Start.md, Events-Facade.md, EventEmitter.md, API-Reference.md, FAQ.md, _Sidebar.md, _Footer.md, ...), so wiki URLs do not change. The numbered chapters are folded into the matching pages.
  • New Once-and-Removal.md (from the old chapter 5) and four extra recipes from the old chapter 8; the old docs-only Event class guidance is merged into Quick Start and Events Facade.
  • Internal links use the Page.md / Page.md#anchor form.
  • PHP requirement stated as 8.2+; release attributions corrected against the tags (priority fix, default priority, Event::once() and friends arrived in 2.1.0, not 2.0.0).
  • Corrected behaviour claims checked against src/: EventEmitter::emit() drops once-listeners before invoking listeners; removeListener() removes one occurrence per priority slot; Events::trigger() cannot mutate plain arrays by reference (recipes now use an object holder).
  • README documentation list points at the new pages.

@muhammetsafak
muhammetsafak merged commit 5f1bc74 into main Nov 22, 2026
6 checks passed
@muhammetsafak
muhammetsafak deleted the docs/wiki-source branch November 22, 2026 16:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant