[clang] 2e75016 - [CIR][Docs][www] Preserve generated dialect reference docs from source sync (#234436)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 22 15:14:43 PDT 2026
Author: Bruno Cardoso Lopes
Date: 2026-10-22T15:14:38-07:00
New Revision: 2e750162eb4396715dbeb06fc97a8bd1e29adda8
URL: https://github.com/llvm/llvm-project/commit/2e750162eb4396715dbeb06fc97a8bd1e29adda8
DIFF: https://github.com/llvm/llvm-project/commit/2e750162eb4396715dbeb06fc97a8bd1e29adda8.diff
LOG: [CIR][Docs][www] Preserve generated dialect reference docs from source sync (#234436)
Complement to #232912: the Sphinx source sync step deletes .md files in
the build docs tree that are not checked in unless listed in
PRESERVE_FILE. The CIR tablegen outputs landed in the build tree before
the sync ran and were pruned, so the post-process step silently found
nothing and the reference page never reached the published site. List
them alongside the other generated docs.
Added:
Modified:
clang/docs/CMakeLists.txt
Removed:
################################################################################
diff --git a/clang/docs/CMakeLists.txt b/clang/docs/CMakeLists.txt
index 503ee47c9764c..cb39b97b168a9 100644
--- a/clang/docs/CMakeLists.txt
+++ b/clang/docs/CMakeLists.txt
@@ -107,7 +107,10 @@ if (LLVM_ENABLE_SPHINX)
DiagnosticsReference.md
AMDGPUBuiltinReference.rst
ClangCommandLineReference.md
- analyzer/user-docs/Options.rst)
+ analyzer/user-docs/Options.rst
+ CIR/_raw/CIRDialect.md
+ CIR/_raw/CIRPasses.md
+ CIR/CIRDialect.md)
add_sphinx_source_sync_target(copy-clang-rst-docs
"${CMAKE_CURRENT_SOURCE_DIR}" "${CMAKE_CURRENT_BINARY_DIR}"
PRESERVE_DOCS ${clang_generated_docs})
More information about the cfe-commits
mailing list