ejeschke / ginga

The Ginga astronomical FITS file viewer
BSD 3-Clause "New" or "Revised" License
120 stars 77 forks source link

Fix readthedocs build due to sphinx incompatibility with RTD theme #1063

Closed ejeschke closed 11 months ago

ejeschke commented 11 months ago
ejeschke commented 11 months ago

A bit hacky, but I guess we can revert it once sphinx 7.x supports the RTD theme. LMK what you think @pllim

pllim commented 11 months ago

This seems a little excessive. Why not pin it here?

https://github.com/ejeschke/ginga/blob/cf221462286cc8f9003975cfd0bccf57d8e16acc/setup.cfg#L67

ejeschke commented 11 months ago

This seems a little excessive. Why not pin it here?

https://github.com/ejeschke/ginga/blob/cf221462286cc8f9003975cfd0bccf57d8e16acc/setup.cfg#L67

If that works, I'm all for it! Can I say:

docs = sphinx<7.0, sphinx-astropy; sphinx_rtd_theme

?

ejeschke commented 11 months ago

It works! LGTM, @pllim?

ejeschke commented 11 months ago

I will squash out the previous commits.

ejeschke commented 11 months ago

Thanks, @pllim!