[all-commits] [llvm/llvm-project] aa4bd2: [mlir][pygments] add mkdocs instructions and `_all...

Perry Gibson via All-commits all-commits at lists.llvm.org
Thu Mar 12 10:02:36 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: aa4bd225c267cb947d483a907387f53eb5832628
      https://github.com/llvm/llvm-project/commit/aa4bd225c267cb947d483a907387f53eb5832628
  Author: Perry Gibson <Wheest at users.noreply.github.com>
  Date:   2026-03-12 (Thu, 12 Mar 2026)

  Changed paths:
    M mlir/utils/pygments/README.md
    M mlir/utils/pygments/mlir_lexer.py

  Log Message:
  -----------
  [mlir][pygments] add mkdocs instructions and `_all_` addition (#181978)

Pygments requires __all__ to be defined in lexer modules that are
discovered via the LEXERS entry-point mapping. Without it, importing
the lexer through Pygments' standard plugin machinery fails silently.

This also adds brief usage instructions for integrating the lexer
into documentation pipelines.



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