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

Add opensearch support to the mathlib docs #256

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Mar 3, 2022

This should make supported browsers offer a "search mathlib docs" feature in the title bar.

It's not clear to me whether this will work in the mathlib doc repo, there are rumors online that it has to be at the site root.

I'll make a PR there anyway to test (leanprover-community/doc-gen#161)

@eric-wieser eric-wieser marked this pull request as draft March 3, 2022 18:15
@eric-wieser eric-wieser marked this pull request as ready for review March 16, 2022 14:13
@eric-wieser
Copy link
Member Author

I can't really come up with a way of testing this other than deploying it and seeing what happens.

@PatrickMassot PatrickMassot merged commit 760b800 into leanprover-community:newsite May 1, 2022
@eric-wieser
Copy link
Member Author

Thanks for merging this. Now that I can test it, it seems that this doesn't actually work in chrome :(

Maybe it works in firefox like @gebner said leanprover-community/doc-gen#161 did? Either way, if it doesn't work in chrome we may as well revert this and put the change in doc-gen instead.

@gebner
Copy link
Member

gebner commented May 1, 2022

I don't think this is deployed yet. At least I can't find any mention of opensearch.xml in the page source code.

@bryangingechen
Copy link
Collaborator

The jobs I re-ran just finished, so hopefully it's deployed now?

@gebner
Copy link
Member

gebner commented May 1, 2022

Can confirm that it works on firefox.

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.

4 participants