[all-commits] [llvm/llvm-project] b9d5b8: [clang][CIR][docs] Fix invalid MyST toctree 'numbe...

Balázs Benics via All-commits all-commits at lists.llvm.org
Sat Aug 8 02:50:11 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b9d5b85942f2d1d9a1898f5efc5c63bb9f43b66b
      https://github.com/llvm/llvm-project/commit/b9d5b85942f2d1d9a1898f5efc5c63bb9f43b66b
  Author: Balázs Benics <benicsbalazs at gmail.com>
  Date:   2026-08-08 (Sat, 08 Aug 2026)

  Changed paths:
    M clang/docs/CIR/index.md

  Log Message:
  -----------
  [clang][CIR][docs] Fix invalid MyST toctree 'numbered' option (#213898)

Similar to #207217

The RST-to-Markdown migration (#206181) converted the RST flag
`:numbered:` into `:numbered: true`.

MyST parses the toctree `numbered` option as `int_or_nothing`, so the
string `true` fails with:

```
'toctree': Invalid option value for 'numbered': true:
invalid literal for int() with base 10: 'true'
```

This breaks the `-W` (warnings-as-errors) `docs-clang-html` build. Make
`numbered` a valueless flag, which MyST accepts (equivalent to the
original RST behavior of numbering all levels).



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