[all-commits] [llvm/llvm-project] b9077c: [lldb][Docs] Fix presentation of some default valu...
Nerixyz via All-commits
all-commits at lists.llvm.org
Wed Apr 15 07:03:41 PDT 2026
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b9077c8e6aaa6c23c0735977fb52a264c6709071
https://github.com/llvm/llvm-project/commit/b9077c8e6aaa6c23c0735977fb52a264c6709071
Author: Nerixyz <nerixdev at outlook.de>
Date: 2026-04-15 (Wed, 15 Apr 2026)
Changed paths:
M lldb/docs/_ext/build_include.py
M lldb/docs/_ext/lldb_setting.py
M lldb/scripts/gen-property-docs-from-json.py
Log Message:
-----------
[lldb][Docs] Fix presentation of some default values (#192239)
There were two bugs with the display of default values:
1. If a default value contains a backtick, that would render
incorrectly. For example
[`disassembly-format`](https://lldb.llvm.org/use/settings.html#disassembly-format).
Fixed by doing the wrapping when we generate the Markdown instead of
when parsing the directive. MyST will already parse the content of the
directive as Markdown. We can escape backticks inside the string by
changing the fence. Markdown can take any number of backticks at the
start as long as they match the amount at the end
([spec](https://spec.commonmark.org/0.31.2/#code-spans)).
2. When the docs were built on Windows, UTF-8 was not correctly picked
up, because the default encoding isn't utf8 there.
[`separator`](https://lldb.llvm.org/use/settings.html#separator) was one
example (renders correctly on the Website but not on my machine).
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list