- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 3
 
Open
Description
Currently when you permalink to a specific method within a type, the anchor includes the FQN of the type itself. Such that you end up with really long redundant URLs. E.g. https://athenaframework.org/Framework/Controller/ValueResolvers/RequestAttribute/#Athena::Framework::Controller::ValueResolvers::RequestAttribute#initialize.
Given the anchors are already isolated to the page itself, would it not be enough to just sub out the type name from the id of the method (and related types)? E.g. something like:
id=def.abs_id | replace("%s#" % obj.abs_id, '') | replace("%s." % obj.abs_id, '')Where I updated the method to be referenced as def such that the type can still be accessed via obj.
Metadata
Metadata
Assignees
Labels
No labels