aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPekka Paalanen <pq@iki.fi>2025-12-28 12:36:40 +0200
committerPekka Paalanen <pq@iki.fi>2025-12-29 16:27:42 +0200
commit4216a08b964207d2c7f588489de7c0da4388e7f7 (patch)
tree9d4eb80a2817a20390d1e60b92c7f384cb72711b /tests
parentserver: document listener fields and a vfunc (diff)
downloadwayland-4216a08b964207d2c7f588489de7c0da4388e7f7.tar
wayland-4216a08b964207d2c7f588489de7c0da4388e7f7.tar.gz
wayland-4216a08b964207d2c7f588489de7c0da4388e7f7.tar.bz2
wayland-4216a08b964207d2c7f588489de7c0da4388e7f7.tar.lz
wayland-4216a08b964207d2c7f588489de7c0da4388e7f7.tar.xz
wayland-4216a08b964207d2c7f588489de7c0da4388e7f7.tar.zst
wayland-4216a08b964207d2c7f588489de7c0da4388e7f7.zip
doc/xsl: rearrange member doc generation
Creating an empty <variablelist> is illegal. This can already be seen in the XSL anywhere it is generated. The used XSL programming pattern requires the look-up conditions to be repeated between the <xsl:if> and <xsl:apply-templates> tags. Usually this is not a problem, but the conditions for memberdef is too much to copy around. The conditions between the if and the apply-templates have already diverged, causing validation errors (that are currently suppressed). Rearrange the XSL so that the applicable memberdef are stored in a variable, so that both the if and the apply-templates operate on the exact same set of matches. This avoids emitting empty <variablelist>. As a result, the members of structures wl_argument, wl_interface, wl_message, and wl_listener newly appear in the documentation. Signed-off-by: Pekka Paalanen <pq@iki.fi>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions