Skip to content

Fix broken Symfony event-subscribers link that fails the docs link check - #620

Open
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/fix-symfony-event-subscribers-xref-7.2
Open

Fix broken Symfony event-subscribers link that fails the docs link check#620
promptless-for-oss wants to merge 1 commit into
mautic:7.2from
Promptless:promptless/fix-symfony-event-subscribers-xref-7.2

Conversation

@promptless-for-oss

Copy link
Copy Markdown
Contributor

Open in Promptless

The Check links CI step scans the whole docs site and was failing every PR because the Symfony event subscribers cross-reference (used on the plugins/event_listeners.rst "Event subscribers" section) pointed at https://symfony.com/doc/current/components/event_dispatcher.html#using-event-subscribers. Symfony renamed that anchor, so the link no longer resolves.

This updates the link registry (docs/links/symfony_docs_event_subscribers.py) to the current anchor #event_dispatcher-using-event-subscribers, which is Symfony's Sphinx reference label for the "Creating an Event Subscriber" section. This is the only broken link the build reported, so the fix clears the site-wide link check. No prose or RST content changes.

Trigger Events

The Check-links CI step reports the 'Symfony event subscribers' xref as
broken because Symfony renamed the event_dispatcher anchor. Update the
link registry to the current #event_dispatcher-using-event-subscribers
anchor so the whole-site link check passes.
@promptless-for-oss
promptless-for-oss requested a review from a team as a code owner August 12, 2026 12:46
@promptless-for-oss
promptless-for-oss requested review from adiati98 and favour-chibueze and removed request for a team August 12, 2026 12:46
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