diff --git a/mlir/docs/Dialects/Transform.md b/mlir/docs/Dialects/Transform.md new file mode 100644 index 000000000000..cd996195ad70 --- /dev/null +++ b/mlir/docs/Dialects/Transform.md @@ -0,0 +1,4 @@ +[TOC] + +[include "Dialects/TransformOps.md"] +[include "Dialects/TransformOpInterfaces.md"] diff --git a/mlir/include/mlir/Dialect/Transform/IR/CMakeLists.txt b/mlir/include/mlir/Dialect/Transform/IR/CMakeLists.txt index d2d98c183f31..be6cf1fc59fb 100644 --- a/mlir/include/mlir/Dialect/Transform/IR/CMakeLists.txt +++ b/mlir/include/mlir/Dialect/Transform/IR/CMakeLists.txt @@ -9,5 +9,7 @@ add_public_tablegen_target(MLIRTransformDialectIncGen) add_dependencies(mlir-headers MLIRTransformDialectIncGen) add_mlir_dialect(TransformOps transform) +add_mlir_doc(TransformOps TransformOps Dialects/ -gen-dialect-doc -dialect=transform) add_mlir_interface(TransformInterfaces) +add_mlir_doc(TransformInterfaces TransformOpInterfaces Dialects/ -gen-op-interface-docs)