doc: reinstate image maps

This fixes the errors during the compilation of Architecture.xml that
the .map files cannot be found. As a result, the architure diagrams
become clickable in the HTML document once again.

Signed-off-by: Pekka Paalanen <pq@iki.fi>
This commit is contained in:
Pekka Paalanen 2025-12-27 21:44:29 +02:00
parent 573c95cb1a
commit e1e8ccd4ae
2 changed files with 14 additions and 5 deletions

View file

@ -25,4 +25,11 @@ foreach src : files([
install: true,
install_dir: publican_install_prefix + '/html/images',
)
publican_image_maps += custom_target(
input + '.map',
command: [ dot, '-Tcmapx_np', '-o@OUTPUT@', '@INPUT@' ],
input: input,
output: fs.stem(src) + '.map',
)
endforeach