vprusso / toqito

|toqito> (Theory of Quantum Information Toolkit) in Python :snake:
https://toqito.readthedocs.io/en/latest/
MIT License
137 stars 54 forks source link

Search inside documentation is broken #649

Open purva-thakre opened 2 weeks ago

purva-thakre commented 2 weeks ago

If I search for something in the search box of the docs, some suggestions show up. The link to these suggestions is broken.

image

https://toqito.readthedocs.io/en/latest/autoapi/matrices/gen_pauli_x/index.html

purva-thakre commented 5 days ago

This is because the links in the searchbox have a different URL than the correct links. undefinedautoapi/matrices/gen_pauli_x/index.html is appended to the working URL when it shows up in the searchbox.

vprusso commented 4 days ago

If you copy the link in the search items that show up in the dropdown of the searchbox though, it looks like it has (what should be?) the correct link: https://toqito.readthedocs.io/en/latest/#:~:text=matrices.-,gen_pauli_x,-Code%20reference

It does resolve to undefined, but that's still unclear to me at this time as to why.