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

sourcelink.html template from sphinx basic theme is used instead of theme one #2088

Open
OriolAbril opened this issue Dec 20, 2024 · 1 comment

Comments

@OriolAbril
Copy link
Contributor

I don't have time right now to try and get a MWE but figured it might be useful to report already. Feel free to ignore until it is reproduceable though.

Some doc builds end up using sourcelink.html from sphinx itself instead of the sourcelink.html defined by the theme. Consequently, this ends up in right sidebars that look like the following:

imatge

instead of the expected version using the theme provided template:

imatge

Versions used:

sphinx 8.1.3
pydata-sphinx-theme 0.16.1

@Charlie-XIAO
Copy link
Contributor

Charlie-XIAO commented Jan 4, 2025

This is seen in scikit-learn as well with sphinx==7.4.7 and pydata-sphinx-theme==0.16.1 (from conda-forge).

I downloaded the .conda package from conda-forge and it seems that sourcelink.html became sourcelink.h which might be the reason. Note that the distribution on PyPI looks fine.

Screenshot of the unzipped .conda package

image

Maybe @trallard?

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

No branches or pull requests

2 participants