[all-commits] [llvm/llvm-project] e210f2: [Clang][Docs] Fix malformed code-block directive i...

Praneeth Sarode via All-commits all-commits at lists.llvm.org
Thu Apr 16 12:35:43 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e210f2216df103c57b749e17b125cf002359d307
      https://github.com/llvm/llvm-project/commit/e210f2216df103c57b749e17b125cf002359d307
  Author: Praneeth Sarode <praneethsarode at gmail.com>
  Date:   2026-04-16 (Thu, 16 Apr 2026)

  Changed paths:
    M clang/docs/MemorySanitizer.rst
    M clang/docs/ThreadSanitizer.rst

  Log Message:
  -----------
  [Clang][Docs] Fix malformed code-block directive in MSan and TSan docs (#190461)

The `code-block` directives in MemorySanitizer.rst and
ThreadSanitizer.rst were missing a leading period (`. code-block`
instead of `.. code-block`). This syntax error caused Sphinx to fail to
recognize the directives, resulting in the the subsequent C code being
rendered as plain text rather than a syntax-highlighted block.

The currently broken rendering on the official docs can be seen
[here](https://clang.llvm.org/docs/MemorySanitizer.html#interaction-of-inlining-with-disabling-sanitizer-instrumentation)
and
[here](https://clang.llvm.org/docs/ThreadSanitizer.html#interaction-of-inlining-with-disabling-sanitizer-instrumentation).

Fixed the typos to ensure proper HTML rendering.



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