Re: meson documentation build open issues
Peter Eisentraut <peter.eisentraut@enterprisedb.com>
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?
Commits
-
docs: meson: Change what 'docs' target builds
- 9e5b2a091fd0 17.0 landed
-
meson: Add 'world' target
- 6614cfb43c82 17.0 landed
-
meson: Document build targets, add 'help' target
- 07cb29737a4e 17.0 landed
-
meson: docs: Add {html,man} targets, rename install-doc-*
- ddcab2a03295 17.0 landed
-
docs: Document --with-selinux/-Dselinux options centrally
- 06c70849fb26 17.0 landed
-
meson: Change default of 'selinux' feature option to auto
- c04f3de3dca3 17.0 landed
-
meson: Fix doc installation path computation
- 7b8399819b9b 17.0 landed
-
meson: Install missing example files
- b630d9d6c82a 17.0 landed
-
meson: docs: Install all manpages, not just ones in man1
- f646ac672567 16.1 landed
- a237a07d5351 17.0 landed
-
meson: docs: Allow configuring simple/website style
- 9d2a464a0484 16.0 landed
-
docs: html: load stylesheet via custom.css.source
- b8059bdf1ef8 16.0 landed
-
docs: html: copy images to output as part of xslt build
- 0012979d989f 16.0 landed
-
meson: docs: Preparatory cleanups
- 0ba827ecfc67 16.0 landed
-
docs: Remove support for 'htmlhelp' format
- d75c7fbaf94e 16.0 landed
-
meson: add install-{docs,doc-html,doc-man} targets
- f13eb16485fe 16.0 landed
-
meson: add install-{quiet, world} targets
- e522049f2399 16.0 landed
-
meson: make install_test_files more generic, rename to install_files
- 614c5f5f52d5 16.0 landed
-
meson: rename html_help target to htmlhelp
- 7730ceb43fe5 16.0 landed