Skip to content

Conversation

SteffenDE
Copy link
Contributor

In the LV repo you were not able to search for atoms inside backticks, for example when searching for "validate_attrs" the corresponding option of the Phoenix.Component.slot/3 macro could not be found:

image

This commit fixes this by stripping the backticks from tokens and also removing trailing colons. I'm not familiar with the ex_doc codebase at all, so this may very well NOT be the way to properly fix, so please double check.

After this change:

image

cc @josevalim

In the LV repo you were not able to search for atoms inside backticks,
for example when searching for "validate_attrs" the corresponding option
of the `Phoenix.Component.slot/3` macro could not be found.

This commit fixes this by stripping the backticks from tokens and also
removing trailing colons.
@zachdaniel
Copy link
Contributor

This will be great for Ash DSL docs as well, awesome 🥳

@josevalim josevalim merged commit 6197d18 into elixir-lang:main Oct 31, 2024
5 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants