-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Search not working in 1.2.0 in environments without web access #1434
Comments
@tmct we forced the version of If you can force-feed pip This will be finally fixed by a new version of sphinxcontrib-jquery: sphinx-contrib/jquery#14 |
Thanks very much! I'll keep an eye on that |
@tmct you can also try reinstalling now, that should give you |
@benjaoming we are experiencing a similar issue, but after upgrading |
@gherceg thanks for the feedback!! do you have a build log, a link to the documentation and/or a git repo that I can have a look at? |
Yeah of course. commcare-hq is the repository, and the docs are here, but notably that docs build is still running |
@gherceg ah! I recognize this issue. Default setups aren't affect by this: We removed (after multiple edits: I think it makes sense now, but LMK if there's something unclear) |
see readthedocs/sphinx_rtd_theme#1434 (comment) for details Change-Id: I890ae6c9329fac3bc5f4f004c33b2386cd183557 Reviewed-on: https://forge.frm2.tum.de/review/c/frm2/nicos/nicos/+/32460 Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de> Reviewed-by: Bjoern Pedersen <bjoern.pedersen@frm2.tum.de>
see readthedocs/sphinx_rtd_theme#1434 (comment) for details Change-Id: I890ae6c9329fac3bc5f4f004c33b2386cd183557 Reviewed-on: https://forge.frm2.tum.de/review/c/frm2/nicos/nicos/+/32460 Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de> Reviewed-by: Bjoern Pedersen <bjoern.pedersen@frm2.tum.de> (cherry picked from commit d8e2eb9) Reviewed-on: https://forge.frm2.tum.de/review/c/frm2/nicos/nicos/+/32461
The `html_theme_path` option should not be used any more with sphinx-rtd-theme since it switches off the theme's ability to automatically enable the sphinxcontrib-jquery extension, i.e. jQuery is not loaded in the web pages when building the docs with Sphinx >=6. xref: readthedocs/sphinx_rtd_theme#1434 (comment) Also replace the deprecated `canonical_url` theme option with Sphinx's `html_baseurl`. xref: https://sphinx-rtd-theme.readthedocs.io/en/stable/configuring.html#confval-canonical_url
There is a documented issue where the deprecated variable, html_theme_path has caused the search feature to break. readthedocs/sphinx_rtd_theme#1434 (comment)
see readthedocs/sphinx_rtd_theme#1434 (comment) No longer need to define html_theme_path
Is this still an issue? If so, can you point us to a live project hitting this issue (or instructions to reproduce it) ? |
Try |
@LGouellec what version of the theme are you using? what's the version of Sphinx itself? Can you try using the latest version of the theme? |
I tried the last one https://github.com/LGouellec/streamiz/blob/master/.github/workflows/gh-pages.yml |
@LGouellec the error in the browser's console says: |
I can't open that URL, |
From that build output, everything looks correct to me:
I'm not sure why it's not working. If you provide a minimal reproducible example, we can debug further. However, I still think it's a problem in your environment/configuration. |
I notice that you don't have the theme added as an extension in https://github.com/LGouellec/streamiz/blob/master/docs/conf.py#L33 as our documentation mentions https://sphinx-rtd-theme.readthedocs.io/en/stable/installing.html. Can you try that? |
@humitos , I have added the extension and now it works ! Thank you for your support. |
Remove obsolete html_theme_path setting from doc/walt/doc/sphinx/conf.py. This was causing the search function to fail, as described here: readthedocs/sphinx_rtd_theme#1434
Remove obsolete html_theme_path setting from doc/walt/doc/sphinx/conf.py. This was causing the search function to fail, as described here: readthedocs/sphinx_rtd_theme#1434
Remove obsolete html_theme_path setting from doc/walt/doc/sphinx/conf.py. This was causing the search function to fail, as described here: readthedocs/sphinx_rtd_theme#1434
Remove obsolete html_theme_path setting from doc/walt/doc/sphinx/conf.py. This was causing the search function to fail, as described here: readthedocs/sphinx_rtd_theme#1434
Remove obsolete html_theme_path setting from doc/walt/doc/sphinx/conf.py. This was causing the search function to fail, as described here: readthedocs/sphinx_rtd_theme#1434
Problem
Hi,
When I upgrade to 1.2.0, the "search" feature stops working in airgapped environments. When a search is initiated, it "spins" but does not finish.
Also observed:
Reproducible Project
Cannot share, sorry - but it shouldn't matter
Error Logs/Results
See above
Expected Results
Search completes as expected
Environment Info
The text was updated successfully, but these errors were encountered: