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

Fix broken version selector in ReadTheDocs #70

Closed
khanspers opened this issue Nov 20, 2023 · 3 comments
Closed

Fix broken version selector in ReadTheDocs #70

khanspers opened this issue Nov 20, 2023 · 3 comments
Assignees
Labels

Comments

@khanspers
Copy link
Collaborator

khanspers commented Nov 20, 2023

The lower-left version selector drop-down doesn't work on 'latest': https://manual.cytoscape.org/en/latest

Not sure why but could have something to do with the 'sphinx_rtd_theme'.

Note: The selector works fine on stable and 3.10.1 versions (which is what we link to from website and UI), since these were built before the latest set of changes that introduced this bug.

@khanspers khanspers added the bug label Nov 20, 2023
@khanspers khanspers self-assigned this Nov 20, 2023
@bdemchak
Copy link
Collaborator

Does not seem to happen on py4cytoscape documents ... either latest or 1.9.0

@khanspers
Copy link
Collaborator Author

There was a jQuery error in the browser console; found this readthedocs/sphinx_rtd_theme#1452.

Adding extensions = ["sphinxcontrib.jquery"] solves the problem.

@bdemchak
Copy link
Collaborator

I see ... I think the difference is that the requirements.txt file for py4cytoscape specifies a specific sphinx version that didn't have this problem:

sphinx==3.5.4
jinja2==3.0.3
pandas
networkx
requests
colorbrewer
chardet
igraph
sphinx_autodoc_typehints
sphinx_rtd_theme
ipykernel
decorator
backoff
colour

Thanks for posting your solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants