aisingapore / PeekingDuck

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

Fix: disable code wrap in autosummary table #719

Closed liyier90 closed 1 year ago

liyier90 commented 1 year 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 1 year 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 1 year 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 1 year ago

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