mirror of
https://github.com/siemens-mobile-hacks/llvm-c166.git
synced 2026-11-26 06:28:13 +00:00
Myst has an extension, [colon_fence](https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#syntax-colon-fence), that we enable in our docs. There are many Markdown-aware tools out there that know to interpret triple backtick as a code block fence, so they highlight them as pre-formatted text. Colon fences are an unrecognized Myst extension, and if the Sphinx directive contains a block of markdown formatted text, that's the desired behavior. Therefore, at some point during the migration, I started using them. However, I didn't document this guideline, and I didn't apply it consistently to the early docs. This PR does that: documents the guideline, and applies it to our docs. After this change: ``` ❯ rg '```\{(option|note|todo|admonition|warning)\}' | cut -d / -f 1 | sort | uniq -c 72 clang-tools-extra ``` The generated HTML was byte-identical. I plan to leave clang-tools-extra untouched since there are PRs in flight. LLM-assisted |
||
|---|---|---|
| .. | ||
| tutorials | ||
| aarch64-linux.md | ||
| formatting.md | ||
| intel_pt.md | ||
| links.md | ||
| lldbdap.md | ||
| map.md | ||
| mcp.md | ||
| ondemand.md | ||
| python-reference.md | ||
| remote.md | ||
| repeat-commands.md | ||
| settings.md | ||
| symbolfilejson.md | ||
| symbolication.md | ||
| symbols.md | ||
| troubleshooting.md | ||
| tutorial.md | ||
| variable.md | ||