theislab / scanpydoc

Collection of Sphinx extensions similar to (but more flexible than) numpydoc
https://icb-scanpydoc.readthedocs-hosted.com/en/latest/
GNU General Public License v3.0
12 stars 6 forks source link

(bug): Broken link/weird cache behavior #133

Closed ilan-gold closed 7 months ago

ilan-gold commented 7 months ago

It seemed more appropriate to post here than the scanpy repo. https://scanpy.readthedocs.io/en/latest/generated/scanpy.pl.rank_genes_groups_heatmap.html#scanpy-pl-rank-genes-groups-heatmap is broken for me.

I tried cache busting as well. This was also interesting - when I hit "disable cache" in the network tools, the page hangs on a white screen and then when I reload it was reloading from the cache. I'm not sure if they're related, but figured I'd report.

flying-sheep commented 7 months ago

How did you get there? TOC? Search? Bookmark?

Looks like the location changed:

- https://scanpy.readthedocs.io/en/latest/generated/scanpy.pl.rank_genes_groups_heatmap.html
+ https://scanpy.readthedocs.io/en/latest/api/generated/scanpy.pl.rank_genes_groups_heatmap.html

@ivirshup is that intentional?

flying-sheep commented 7 months ago

I don’t think this has anything to do with scanpydoc, but I can’t transfer this since it’s not the same org.

ilan-gold commented 7 months ago

@flying-sheep Ah, forgot to mention that. I used the search feature, hence why I brought it up here.

Screenshot 2024-01-16 at 09 44 48
flying-sheep commented 7 months ago

OK, so to disentangle this

  1. scanpydoc only does styling and rewires keyboard shortcuts and clicks a bit. It does nothing with the actual search implementation (neither display HTML nor API backend), so this issue is out of scope for scanpydoc
  2. My changes to the search only apply to /latest docs. The screenshot looks like it depicts the old /stable docs which shouldn’t have an active search extension anymore, so I don’t even know what this screenshot is :laughing:

when I hit "disable cache" in the network tools, the page hangs on a white screen and then when I reload it was reloading from the cache. I'm not sure if they're related, but figured I'd report.

I guess just try until that works or report a bug for your browser?

new theme light new theme dark
grafik grafik