Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow searching for atoms inside backticks #1960

Merged
merged 3 commits into from
Oct 31, 2024

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 🥳

assets/js/search-page.js Outdated Show resolved Hide resolved
@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