From 5fa520a77ca8cbfcd43338813f6f44188ae3da75 Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Thu, 26 Sep 2024 09:04:25 +0000 Subject: [PATCH] Doc: Fix usage instructions for the \youtube macro MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The example configuration included a space character that caused a syntax error parsing the .qdocconf. Replace the hardcoded qhp `QtDoc` project name with a placeholder. Pick-to: 6.8 Change-Id: Iadf3a50e030f02182016ed9832f4f59d29f82c57 Reviewed-by: Topi Reiniƶ (cherry picked from commit 4051ec3356bded10cd7ac66dc1149259bc48d36b) Reviewed-by: Qt Cherry-pick Bot --- doc/global/macros.qdocconf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/global/macros.qdocconf b/doc/global/macros.qdocconf index 96144897d37..1d10b1e4fbd 100644 --- a/doc/global/macros.qdocconf +++ b/doc/global/macros.qdocconf @@ -126,8 +126,9 @@ macro.QtMinorVersion.match = "\\d+\\.(\\d+)" # along with the offline docs, you must specify it manually. In .qdocconf, to do it for all formats # at once, add: # -# {HTML.extraimages,qhp.QtDoc.extraFiles, DocBook.extraimages} += images/dQw4w9WgXcQ.jpg +# {HTML.extraimages,qhp..extraFiles,DocBook.extraimages} += images/dQw4w9WgXcQ.jpg # +# Where is a project name listed in `qhp.projects`. macro.youtube.HTML = "
\n" \ "\n"\ "