[all-commits] [llvm/llvm-project] 5c09ca: [MLIR][doc] Make summary appear different than dis...
Rik Huijzer via All-commits
all-commits at lists.llvm.org
Sat Jun 10 10:20:07 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5c09caf55eb701d37ef4770f4ab178a71ca7e387
https://github.com/llvm/llvm-project/commit/5c09caf55eb701d37ef4770f4ab178a71ca7e387
Author: rikhuijzer <rikhuijzer at pm.me>
Date: 2023-06-10 (Sat, 10 Jun 2023)
Changed paths:
M mlir/tools/mlir-tblgen/OpDocGen.cpp
Log Message:
-----------
[MLIR][doc] Make summary appear different than discription
This patch aims to clarify which part of the docs is the summary and which
part is the description.
I did a preview of the output and think the suggested bold and italic style
is much clearer and looks reasonably nice.
I've considered also to enforce capitalization of the first letter of the
summary and ending with a dot (as discussed in
https://reviews.llvm.org/D151649), but it seems to me that the tradeoff in
extra test running time is not worth it. Currently, `emitOpDoc` is not
triggered for every `summary` during `check-mlir`.
Reviewed By: jpienaar
Differential Revision: https://reviews.llvm.org/D152621
More information about the All-commits
mailing list