From 5c691bb4b493a4ff1ff675af4140de49eb46d0d5 Mon Sep 17 00:00:00 2001 From: Ted Pudlik Date: Mon, 25 Nov 2024 13:35:12 -0800 Subject: [PATCH] fix: Propagate common kwargs to sphinx_run (#2442) This ensures tags like `manual` (and other attributes) are copied into the `{name}.run` target and properly respected. Fixes https://github.com/bazelbuild/rules_python/issues/2441 --- sphinxdocs/private/sphinx.bzl | 1 + 1 file changed, 1 insertion(+) diff --git a/sphinxdocs/private/sphinx.bzl b/sphinxdocs/private/sphinx.bzl index 678d01bca7..7ec35f9ab4 100644 --- a/sphinxdocs/private/sphinx.bzl +++ b/sphinxdocs/private/sphinx.bzl @@ -190,6 +190,7 @@ def sphinx_docs( sphinx_run( name = name + ".run", docs = name, + **common_kwargs ) build_test(