From 68596da7a7806442314c3f04a27f45cdcdaf974b Mon Sep 17 00:00:00 2001 From: Luca Di Sera Date: Wed, 24 May 2023 14:49:30 +0200 Subject: Doc: Add a DocBook version of custom svg images MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit QDoc provides a "\raw" command that allows a user to inject format-specific code that complements the code that QDoc generates. The "\raw" command expect the user to provide a "format" argument to ensure that the provided code is generated only for the format that is written for. Due to a bug in QDoc DocBook generation, the DocBook documentation was generating, sometimes incorrectly, "\raw" commands intended for the HTML format. The Qt virtual keyboard documentation uses the "\raw HTML" commands to provide some custom SVGs. Due to the aforementioned bug, QDoc was generating some equivalent code for DocBook, albeit no user-provided DocBook equivalent existed. As the bug is now being fixed, the DocBook documentation for virtual keyboard will lose the custom SVGs in its output. To preserve the SVGs for when generating DocBook documentation, an equivalent "\raw DocBook" command is now provided. Change-Id: I272163cd88b133e07fb790293baa9d4833429087 Reviewed-by: Topi Reiniƶ Reviewed-by: Paul Wicking --- src/virtualkeyboard/doc/src/build.qdoc | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/virtualkeyboard/doc/src/build.qdoc b/src/virtualkeyboard/doc/src/build.qdoc index 999a4c35..54a77719 100644 --- a/src/virtualkeyboard/doc/src/build.qdoc +++ b/src/virtualkeyboard/doc/src/build.qdoc @@ -394,6 +394,27 @@ is no need for an explicit gesture.
Writing fragments of word over the others
\endraw +\raw DocBook + +Writing one character over the other + + + + + + + + +Writing fragments of word over the others + + + + + + + +\endraw + \section3 Language coverage of MyScript Text SDK MyScript Superimposed supports 72 languages. -- cgit v1.2.3