Skip to content

Add permalinks to attributes#227

Open
p8 wants to merge 1 commit intorails:mainfrom
p8:features/link-to-attributes
Open

Add permalinks to attributes#227
p8 wants to merge 1 commit intorails:mainfrom
p8:features/link-to-attributes

Conversation

@p8
Copy link
Copy Markdown
Member

@p8 p8 commented Jun 2, 2023

Attributes support the aref attribute so we can add permalinks to attributes.

image

For example the following description links to the headers attribute, but you have to scroll
to get to the attribute.
https://edgeapi.rubyonrails.org/classes/ActionController/Metal.html#method-i-headers

On this branch the deeplink does work:
https://deploy-preview-227--sdoc.netlify.app/classes/actioncontroller/metal#method-i-headers

Attributes support the aref attribute so we can add permalinks to
attributes.
@p8
Copy link
Copy Markdown
Member Author

p8 commented Jun 2, 2023

I'd like to implement this for constants as well, but that requires a change in rdoc: ruby/rdoc#1016

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