eb92d52dc7
QDoc allows code-expanding macros to be defined so that the user can abstract away common code in a simple to use command. Furthermore, macros allows for a different expansion based on the currently generated format so that format-specific requirements can be satisfied when required. When format specific expansions are provided, QDoc considers the resulting text as if it should be generated verbatim. The "\raisedaster" macro is used to generate an superscript asterisk. The macro is provided for both HTML and DocBook. As the macro has format-specific expansions, the expanded code will be read verbatim. Nonetheless, while the HTML expansion expands to actual HTML, the DocBook expansion expands to an equivalent QDoc code, which will not be generated correctly. To avoid the issue, the DocBook version of "\raisedaster" is modified so that it produces the correct DocBook code. Change-Id: I3a37838bda885af42f8d93b86ec08126d7146ff9 Reviewed-by: Topi Reiniö <topi.reinio@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io> |
||
---|---|---|
.. | ||
externalsites | ||
includes | ||
includes-online | ||
snippets/code | ||
template | ||
compat.qdocconf | ||
config.qdocconf | ||
externalsites.qdocconf | ||
fileextensions.qdocconf | ||
html-config.qdocconf | ||
html-footer-online.qdocconf | ||
html-footer.qdocconf | ||
html-header-offline.qdocconf | ||
html-header-online.qdocconf | ||
htmltabs.qdocconf | ||
macros-online.qdocconf | ||
macros.qdocconf | ||
manifest-meta.qdocconf | ||
qt-cpp-defines.qdocconf | ||
qt-html-templates-offline-simple.qdocconf | ||
qt-html-templates-offline.qdocconf | ||
qt-html-templates-online.qdocconf | ||
qt-module-defaults-offline.qdocconf | ||
qt-module-defaults-online-commercial.qdocconf | ||
qt-module-defaults-online.qdocconf | ||
qt-module-defaults.qdocconf |