-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
Description
Description
All links using the :phpfunction: role in the documentation are broken due to a missing slash in the generated URL.
Current behavior
Links like :phpfunction:readlink`` generate URLs pointing to:
https://www.php.netmanual/en/function.readlink.php
This results in a 404 error.
Expected behavior
The URL should be:
https://www.php.net/manual/en/function.readlink.php
(Note the slash between .net and manual)
Example
I noticed this issue in the Filesystem component documentation:
https://symfony.com/doc/current/components/filesystem.html
The text mentions:
unlike PHP's :phpfunction:
readlinkfunction
But the link is broken.
Impact
This affects all references to PHP functions throughout the Symfony documentation.
Suggested fix
The configuration for the phpfunction role needs to be updated to include the missing slash in the base URL.