Hi,
On 2023-03-20 11:58:08 +0100, Peter Eisentraut wrote:
> Oh, this patch set grew quite quickly. ;-)
Yep :)
> [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.
I think it can be made work for non-xml files with xinclude too. But the
restriction around only working in top-level stylesheets (vs everywhere for
documents) is quite annoying.
> [PATCH v2 6/8] wip: docs: copy or inline css
>
> This seems pretty complicated compared to just copying a file?
Mainly that it works correctly for the standalone file.
Greetings,
Andres Freund