BasisResearch / chirho

An experimental language for causal reasoning
https://basisresearch.github.io/chirho/getting_started.html
Apache License 2.0
172 stars 12 forks source link

Search doesn't work on basisresearch.github.io #569

Closed dimkab closed 1 month ago

dimkab commented 1 month ago

Writing a query and hitting enter produces the following:

image
eb8680 commented 1 month ago

Thanks for catching this. Does search work when you build the docs locally?

dimkab commented 1 month ago

No, same problem. Looking at the page inspector shows the error: "jQuery is not defined" in search.html lines 142,147. Tested with Chrome, Safari and Firefox on Mac.

dimkab commented 1 month ago

Looks relevant: https://github.com/sphinx-doc/sphinx/issues/7405

dimkab commented 1 month ago

adding "sphinxcontrib.jquery" to the list of extensions in conf.py should do the trick (checked locally).

eb8680 commented 1 month ago

Great, can you open a PR with a fix? Thanks