-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Build does not include searchtools.js #832
Comments
More information is probably needed to help diagnose your issue. On the latest commit, I get a Can you give more information on what you're doing, what versions you're using, and a minimal reproducible example? |
I am not sure how did i fix it. Now, it works. If I'm sure, i will comment it. |
@csezenoglu Did you ever find out what fixed this? I am running into the same issue with our own Sphinx theme which is based on this one. |
@chausner-audeering I could not remember exactly but could you please try update the theme and delete _build folder and rebuild. |
We were able to fix it in our custom theme (which is based on sphinx-rtd-theme). The problem was that <script type="text/javascript" src="{{ pathto('_static/searchtools.js', 1) }}"></script> is inside a |
Problem
When I build my project, search.html file does not include _static/searchtools.js script in the head section. So, I cannot use search in offline mode.
Reproducible Project
Here is head section of search.html file that build in my locale.
Expected Results
These both method works for me:
1- When I manually enter the searchtools.js in the head section of search.html, it works.
2- When I manually change the search.html file in the theme package in the python lib folder like below, it works.
Environment Info
I have just updated all python packages.
The text was updated successfully, but these errors were encountered: