Doc: Fix usage instructions for the \youtube macro
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ö <topi.reinio@qt.io> (cherry picked from commit 4051ec3356bded10cd7ac66dc1149259bc48d36b) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
parent
019feea9b1
commit
5fa520a77c
@ -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.<qhp_project>.extraFiles,DocBook.extraimages} += images/dQw4w9WgXcQ.jpg
|
||||
#
|
||||
# Where <qhp_project> is a project name listed in `qhp.projects`.
|
||||
macro.youtube.HTML = "<div class=\"video\">\n" \
|
||||
"<a href=\"https://www.youtube.com/watch/?v=\1\">\n"\
|
||||
"<img src=\"images/\1.jpg\"" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user