markstory / sphinxcontrib-phpdomain

A PHP domain for sphinx. Allows you to annotate PHP objects in your sphinx docs.
Other
19 stars 15 forks source link

process_link regexp change #39

Closed thuttinpasseron closed 2 years ago

thuttinpasseron commented 2 years ago

Change the process_link regexp to actually hide all the parts before class/method name. Please see unit tests carried out on regex101: https://regex101.com/r/eNUo8C/1

thuttinpasseron commented 2 years ago

In its actual form, the regexp only removes the first part of the given FQCN or a relative class name, or fully-qualified method name or relative method name.

markstory commented 2 years ago

Thank you 🎉