From 29e8dd132c8a99a7590b3358de2b165c6387f0c7 Mon Sep 17 00:00:00 2001 From: user202729 <25191436+user202729@users.noreply.github.com> Date: Mon, 17 Nov 2025 18:59:33 +0700 Subject: [PATCH] Warn on target generation when doc-build is enabled --- src/doc/meson.build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/doc/meson.build b/src/doc/meson.build index d20e287caa9..ff72c76e2f4 100644 --- a/src/doc/meson.build +++ b/src/doc/meson.build @@ -2,6 +2,8 @@ if not get_option('build-docs') subdir_done() endif +warning('Documentation building enabled, generating targets may be slow. To disable this, pass -Dbuild-docs=false.') + sphinx_check = py_module.find_installation(required: false, modules: ['sphinx']) if not sphinx_check.found() warning(