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

Algolia Search: DocSearch API v3 doesn't seem to have 'inputSelector' any more #738

Closed
mhansen opened this issue Oct 21, 2021 · 3 comments · Fixed by #985
Closed

Algolia Search: DocSearch API v3 doesn't seem to have 'inputSelector' any more #738

mhansen opened this issue Oct 21, 2021 · 3 comments · Fixed by #985
Labels
search Site search / search engines

Comments

@mhansen
Copy link
Contributor

mhansen commented Oct 21, 2021

Hi there, I'm trying to add Algolia Docsearch to www.graphviz.org.

The Docsy docs at https://www.docsy.dev/docs/adding-content/navigation/#adding-algolia-docsearch say

Update the inputSelector field in the body end Javascript with the appropriate CSS selector (e.g. .td-search-input to use the default CSS from this theme).

I can't find an inputSelector option in the Docsearch API v3: https://docsearch.algolia.com/docs/api. It looks like this was a thing for Docsearch API v2: https://docsearch.algolia.com/docs/legacy/dropdown.

The DocSearch API v3 wants you to give a container that they render the searchbox into, it seems.

I'll probably just roll with API v2 for now (so this isn't an urgent issue or anything), just wanted to file it as FYI.

@mhansen mhansen changed the title Algolia Search: Algolia API doesn't seem to have 'inputSelector' any more Algolia Search: DocSearch API v3 doesn't seem to have 'inputSelector' any more Oct 21, 2021
@LisaFC
Copy link
Collaborator

LisaFC commented Oct 28, 2021

I see. @alexearnshaw added our Algolia integration so might have some ideas about how/if we should update.

@deining deining added the search Site search / search engines label Jan 18, 2022
@insa-k
Copy link

insa-k commented Mar 4, 2022

Hey!
Is there some news if and when you would be able to update it?

@chalin
Copy link
Collaborator

chalin commented Apr 26, 2022

For recent developments regarding this issue, see #845, where most of the discussion is.

@chalin chalin closed this as completed Apr 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
search Site search / search engines
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants