3 ms·
The new Sphinx based documentation has many code sample boxes where the content overflows and the rectange is smaller than the text which doesn't fit into the r
by cm3 10y ago
The new Sphinx based documentation has many code sample boxes where the content overflows and the rectange is smaller than the text which doesn't fit into the rendered HTML/PDF. Is this a common issue with Sphinx?
- bgamari 10y agoHmmm, I've noticed this in the PDF output but haven't yet seen anything similar in the HTML output. Could you point me at a specific example?
- cm3 10y agoRebuilding the latest release now, was referring to previous RCs. It may very well be just the PDF output. I'll check Sunday and report here.
- cm3 10y agoOne example: 3.2.8, the second code box about hsc2hs. HTML of the same section is fine. There must be a way to fix this in the pipeline. I mean, you cannot find each and all and try to manually adjust the text.
- DasIch 10y agoI don't see the problem on this page[1]. In any case this would be an issue with the builder that turns the doctree into HTML, PDF or whatever. [1]: https://ghc.readthedocs.io/en/latest/8.0.1-notes.html#hsc2hs https://ghc.readthedocs.io/en/latest/8.0.1-notes.html#hsc2hs
- cm3 10y agoAs I wrote, HTML is fine, PDF is not.