doc: doxygen: fix Kconfig alias when using HTML output

The kconfig Doxygen alias needs to work for both, HTML and XML output
(used later by Sphinx). This patch modifies the alias so that it outputs
plain HTML for the HTML output and Sphinx roles for the XML output.

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
This commit is contained in:
Gerard Marull-Paretas 2022-09-19 09:37:07 +02:00 committed by Fabio Baltieri
parent af88b960ff
commit f1a8d0bcbb

View file

@ -254,7 +254,7 @@ TAB_SIZE = 8
ALIASES = "rst=\verbatim embed:rst:leading-asterisk" \
endrst=\endverbatim \
"option{1}=\verbatim embed:rst:inline :kconfig:option:`\1` \endverbatim" \
"kconfig{1}=\verbatim embed:rst:inline :kconfig:option:`\1` \endverbatim" \
"kconfig{1}=\htmlonly <code>\1</code> \endhtmlonly \xmlonly \verbatim embed:rst:inline :kconfig:option:`\1` \endverbatim \endxmlonly" \
"req{1}=\ref ZEPH_\1 \"ZEPH-\1\"" \
"satisfy{1}=\xrefitem satisfy \"Satisfies requirement\" \"Requirement Implementation\" \1" \
"verify{1}=\xrefitem verify \"Verifies requirement\" \"Requirement Verification\" \1" \