Commit f1a8d0bc authored by Gerard Marull-Paretas's avatar Gerard Marull-Paretas Committed by Fabio Baltieri
Browse files

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: default avatarGerard Marull-Paretas <gerard.marull@nordicsemi.no>
parent af88b960
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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" \