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

DocSearch comparison #7

Open
jpmckinney opened this issue May 6, 2021 · 5 comments
Open

DocSearch comparison #7

jpmckinney opened this issue May 6, 2021 · 5 comments

Comments

@jpmckinney
Copy link
Member

jpmckinney commented May 6, 2021

https://docsearch.algolia.com is used by https://framework.frictionlessdata.io/docs/guides/guides-overview among others. (They also use https://docusaurus.io)

It looks like it supports multilingual websites: https://docsearch.algolia.com/docs/config-file/#using-regular-expressions

To ignore navigation, footers, etc. use selectors_exclude: https://docsearch.algolia.com/docs/config-file/#selectors_exclude-optional

We'd like to add results from the Extension Explorer #2. start_urls might be the way for DocSearch to do that: https://docsearch.algolia.com/docs/config-file/#start_urls

Since we already have a working setup that is timely (DocSearch runs daily) and configurable, I'm just noting the option here, in case we run into major development work around OCDS Index or Elasticserach, at which point we can reconsider.

@jpmckinney
Copy link
Member Author

Can follow Executable Books' use here: executablebooks/jupyter-book#1324

@jpmckinney
Copy link
Member Author

jpmckinney commented May 7, 2021

Unique features of DocSearch are auto-completion and instant-search.

I'll re-open, as adopting DocSearch could:

I'm not sure DocSearch will work for staging documentation (re: start_urls). We can fallback to Sphinx's default search in that case.

@jpmckinney
Copy link
Member Author

If we move to ReadTheDocs open-contracting/deploy#266, we might instead use its existing search features, which already searches across subprojects: https://docs.readthedocs.io/en/stable/guides/searching-with-readthedocs.html

@jpmckinney
Copy link
Member Author

Re-opening pending conclusion of open-contracting/deploy#266

@jpmckinney jpmckinney reopened this May 8, 2021
@jpmckinney
Copy link
Member Author

Some instructions for Sphinx integration: readthedocs/sphinx_rtd_theme#761

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

No branches or pull requests

1 participant