From fd28c970750e0570bf1d107922fa29eae161e93d Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Wed, 5 Oct 2022 00:48:49 +0200 Subject: [PATCH] qdoc: improve \youtube documentation for DocBook images The same kind of line is required for DocBook as HTML or QHP. This change makes that requirement clear. It was suggested by Nicholas Bennett in a change in existing configuration for this exact line. Change-Id: I664300f229bac9931c6f1ac4a08bd7c8c42bf37c Reviewed-by: Nicholas Bennett --- doc/global/macros.qdocconf | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/global/macros.qdocconf b/doc/global/macros.qdocconf index e79ed161ffc..f504f4584ad 100644 --- a/doc/global/macros.qdocconf +++ b/doc/global/macros.qdocconf @@ -57,10 +57,11 @@ macro.QtMajorVersion.match = "^(\\d+)\\." macro.QtMinorVersion.match = "\\d+\\.(\\d+)" # Embed YouTube content by video ID - Example: \youtube dQw4w9WgXcQ -# Also requires a .jpg thumbnail for offline docs. In .qdocconf, add: +# Also requires a .jpg thumbnail for offline docs. By default, qdoc doesn't copy the thumbnail +# along with the offline docs, you must specify it manually. In .qdocconf, to do it for all formats +# at once, add: # -# HTML.extraimages += images/dQw4w9WgXcQ.jpg -# qhp.ProjectName.extraFiles += images/dQw4w9WgXcQ.jpg +# {HTML.extraimages,qhp.QtDoc.extraFiles, DocBook.extraimages} += images/dQw4w9WgXcQ.jpg # macro.youtube.HTML = "
\n" \ "\n"\