AWARE SYSTEMS
TIFF and LibTiff Mail List Archive

Thread

2022.06.01 17:10 "[Tiff] Conversion of HTML documentation to Sphinx ReStructuredText (RST)", by Roger
2022.06.01 19:19 "Re: [Tiff] Conversion of HTML documentation to Sphinx ReStructuredText (RST)", by Bob Friesenhahn
2022.06.04 21:18 "Re: [Tiff] Conversion of HTML documentation to Sphinx ReStructuredText (RST)", by Roger

2022.06.01 17:10 "[Tiff] Conversion of HTML documentation to Sphinx ReStructuredText (RST)", by Roger

Hi folks,

I mentioned some years ago that it would be nice if we could convert the HTML documentation to a more maintainable format, and created an issue for it here: https://gitlab.com/libtiff/libtiff/-/issues/361.

Over the last few days, I've had some free time to do some work on LibTIFF and I did a preliminary conversion of the static HTML pages (not the manual pages at this point). The main manual is converted; I'm currently going back through the release notes from v4.4.0 to v4.0.9 so far.

I haven't made any material changes to the documentation other than fixing a few minor typos. It's focused upon switching the markup from HTML to RST, with any actual reorganisation or changes left for a followup MR.

To try this out:

I've not done any customisation of the theming or anything at this point, so the appearance is just the default Sphinx theme. I've added a few "extlinks" (see "doc/conf.py.in") to make shortcuts to bug tickets. If anyone wants to give this a look over, feedback would be welcome. If anyone wants to help out, the branch can be pushed to by anyone with GitLab access. The release notes are a bit tedious, so it's taking a while to plough through them all. But they look quite nice.

You'll see a few Sphinx warnings about bad cross-references due to the documentation not being complete at this point. And some of the markup might not be optimal until we have all of the manual pages converted and have manpage generation properly in place, but what's here seems like a good starting point, so thought now would be a good time to show it to a wider audience.

Kind regards,

Roger