unitaryfund / mitiq

Mitiq is an open source toolkit for implementing error mitigation techniques on most current intermediate-scale quantum computers.
https://mitiq.readthedocs.io
GNU General Public License v3.0
344 stars 145 forks source link

Move docs version switcher to navigation bar #2386

Open cosenal opened 1 month ago

cosenal commented 1 month ago

Discussed in https://github.com/unitaryfund/mitiq/discussions/2383

Originally posted by **purva-thakre** May 23, 2024 https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/version-dropdown.html RTD allows us to switch between earlier versions of mitiq's documentation. The ability to switch between earlier versions is not as easily accessible unless we scroll down to the bottom of each page and look at the bottom left corner. ![image](https://github.com/unitaryfund/mitiq/assets/66048318/c305665f-4ab0-4e2a-b331-d6220137ba15) This option is also not available on certain pages like https://mitiq.readthedocs.io/en/stable/ With the PyData theme, there is a convenient option of using a [version switcher](https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/version-dropdown.html) in the header/navigation bar. ![image](https://github.com/unitaryfund/mitiq/assets/66048318/abcfea93-cf37-4f86-9909-58954aedb8a0)