]> git.baikalelectronics.ru Git - kernel.git/commit
Documentation/llvm: Improve formatting of commands, variables, and arguments
authorNathan Chancellor <natechancellor@gmail.com>
Tue, 25 Aug 2020 23:14:38 +0000 (16:14 -0700)
committerMasahiro Yamada <masahiroy@kernel.org>
Mon, 31 Aug 2020 10:48:20 +0000 (19:48 +0900)
commit7c7dc39e83902de873a1dd7ac5b7c92440097b59
tree62813271955082f5713d65b08ce662e927664ca1
parent066a8aace0c5f86a6f60488ff677bb53935358db
Documentation/llvm: Improve formatting of commands, variables, and arguments

While reviewing a separate patch, I noticed that the formatting of the
commands, variables, and arguments was not in a monospaced font like the
rest of the Kbuild documentation (see kbuild/kconfig.rst for an
example). This is due to a lack of "::" before indented command blocks
and single backticks instead of double backticks for inline formatting.

Add those so that the document looks nicer in an HTML format, while not
ruining the look in plain text.

As a result of this, we can remove the escaped backslashes in the last
code block and move them to single backslashes.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Documentation/kbuild/llvm.rst