On 20.03.23 03:33, Andres Freund wrote:
>> I did end up getting stuck when hacking on this, and ended up adding css
>> support for nochunk and support for the website style for htmlhelp and
>> nochunk, as well as obsoleting the need for copying the css files... But
>> perhaps that's a bit too much.
> Updated set of patches attached. This one works in older meson versions too
> and adds install-world and install-quiet targets.
Oh, this patch set grew quite quickly. ;-)
[PATCH v2 1/8] meson: rename html_help target to htmlhelp
This is obvious.
[PATCH v2 5/8] docs: html: copy images to output as part of xslt build
Making the XSLT stylesheets do the copying has some appeal. I think it
would only work for SVG (or other XML) files, which I guess is okay, but
maybe the templates should have a filter on format="SVG" or something.
Also, this copying actually modifies the files in some XML-equivalent
way. Also okay, I think, but worth noting.
Note sure why you removed this comment
-<!-- strip directory name from image filerefs -->
since the code still exists.
[PATCH v2 6/8] wip: docs: copy or inline css
This seems pretty complicated compared to just copying a file?