aisingapore / PeekingDuck

A modular framework built to simplify Computer Vision inference workloads.
Apache License 2.0
163 stars 39 forks source link

Fix: disable code wrap in autosummary table #719

Closed liyier90 closed 2 years ago

liyier90 commented 2 years ago

The latest changes to sphinx-rtd-theme (possibly issue #289) have broken the autosummary table

image

Fix: Set white-space: nowrap to the code elements inside the autosummary longtables to get back the original behavior.

ongtw commented 2 years ago

Strange, on M1 Mac with sphinx-rtd-theme v1.0.0, the generated page looks "normal": Screen Shot 2022-11-04 at 1 32 46 AM

liyier90 commented 2 years ago

Strange, on M1 Mac with sphinx-rtd-theme v1.0.0, the generated page looks "normal":

Yes, because v1.1.0 got release on Nov 2 and we have an unpinned sphinx-rtd-theme requirement. The recent merges to the dev branch triggered building docs with the new theme and resulted in this visual bug.

ongtw commented 2 years ago

Oh yes, Sphinx 1.1.0 does break the formatting! Screen Shot 2022-11-04 at 10 35 36 AM