Skip to content

Unable to expand Read the Docs tab with version and downloads #10841

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

Closed
kerim371 opened this issue Oct 18, 2023 · 3 comments
Closed

Unable to expand Read the Docs tab with version and downloads #10841

kerim371 opened this issue Oct 18, 2023 · 3 comments
Labels
Needed: more information A reply from issue author is required Support Support question

Comments

@kerim371
Copy link

Details

When clicking on this button:
image
I expect it to be expended. But it doesn't.

It may be related to #4132 and #445 but trying latest version sphinx-rtd-theme didn't help.
I think it also may be caused by .readthedocs.yaml. Maybe I miss some settings?

@humitos
Copy link
Member

humitos commented Oct 18, 2023

It seems that jQuery is not included in the HTML output. I'm seeing Uncaught ReferenceError: jQuery is not defined in the JS console. I remember we already fixed this problem, so maybe we have a regression here. cc @stsewd

@stsewd
Copy link
Member

stsewd commented Oct 18, 2023

Hi, can you try deleting the import and the setting of the html_theme_path?

https://github.com/tierra-colada/colada-docs/blob/1caf2e60ae7e43d1b1f13faf3961e21a58ab2f5b/source/conf.py#L66-L69

To use the theme, you only need to set the html_theme_path setting. Importing the theme is probably interfering with the sphinxcontrib_jquery extension. The theme requires jQuery to be loaded before we try to inject it.

@stsewd stsewd added Support Support question Needed: more information A reply from issue author is required labels Oct 18, 2023
@kerim371
Copy link
Author

@stsewd hi

thank you!
After removing sphinx_rtd_theme from imports and its methods/functions of course it started to work.

To use the theme, you only need to set the html_theme_path setting.

You probably meant html_theme.

The problem solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needed: more information A reply from issue author is required Support Support question
Projects
None yet
Development

No branches or pull requests

3 participants