Skip to content

Commit 3fd5b83

Browse files
authored
docs: add testing.* Bazel objects to Sphinx inventory and xref in docs (bazel-contrib#2185)
Also sorts the names in the inventory.
1 parent 612baef commit 3fd5b83

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

python/private/py_exec_tools_info.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ when constructing the action invocation for running the precompiler program
4848
(typically `exec_interpreter`). See the `PyInterpreterProgramInfo` provider docs
4949
for details on how to construct an invocation.
5050
51-
If `testing.ExecutionInfo` is provided, it will be used to set execution
51+
If {obj}`testing.ExecutionInfo` is provided, it will be used to set execution
5252
requirements. This can be used to control persistent worker settings.
5353
5454
The precompiler command line API is:

sphinxdocs/inventories/bazel_inventory.txt

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,17 @@
33
# Version: 7.3.0
44
# The remainder of this file is compressed using zlib
55
Action bzl:type 1 rules/lib/Action -
6+
ExecutionInfo bzl:type 1 rules/lib/providers/ExecutionInfo -
67
File bzl:type 1 rules/lib/File -
78
Label bzl:type 1 rules/lib/Label -
9+
RunEnvironmentInfo bzl:type 1 rules/lib/providers/RunEnvironmentInfo -
810
Target bzl:type 1 rules/lib/builtins/Target -
11+
attr.bool bzl:type 1 rules/lib/toplevel/attr#bool -
12+
attr.int bzl:type 1 rules/lib/toplevel/attr#int -
13+
attr.label bzl:type 1 rules/lib/toplevel/attr#label -
14+
attr.label_list bzl:type 1 rules/lib/toplevel/attr#label_list -
15+
attr.string bzl:type 1 rules/lib/toplevel/attr#string -
16+
attr.string_list bzl:type 1 rules/lib/toplevel/attr#string_list -
917
bool bzl:type 1 rules/lib/bool -
1018
callable bzl:type 1 rules/lib/core/function -
1119
config_common.FeatureFlagInfo bzl:type 1 rules/lib/toplevel/config_common#FeatureFlagInfo -
@@ -48,12 +56,6 @@ int bzl:type 1 rules/lib/int -
4856
depset bzl:type 1 rules/lib/depset -
4957
dict bzl:type 1 rules/lib/dict -
5058
label bzl:type 1 concepts/labels -
51-
attr.bool bzl:type 1 rules/lib/toplevel/attr#bool -
52-
attr.int bzl:type 1 rules/lib/toplevel/attr#int -
53-
attr.label bzl:type 1 rules/lib/toplevel/attr#label -
54-
attr.label_list bzl:type 1 rules/lib/toplevel/attr#label_list -
55-
attr.string bzl:type 1 rules/lib/toplevel/attr#string -
56-
attr.string_list bzl:type 1 rules/lib/toplevel/attr#string_list -
5759
list bzl:type 1 rules/lib/list -
5860
native.existing_rule bzl:function 1 rules/lib/toplevel/native#existing_rule -
5961
native.existing_rules bzl:function 1 rules/lib/toplevel/native#existing_rules -
@@ -75,6 +77,10 @@ runfiles.root_symlinks bzl:type 1 rules/lib/builtins/runfiles#root_symlinks -
7577
runfiles.symlinks bzl:type 1 rules/lib/builtins/runfiles#symlinks -
7678
str bzl:type 1 rules/lib/string -
7779
struct bzl:type 1 rules/lib/builtins/struct -
80+
testing bzl:obj 1 rules/lib/toplevel/testing -
81+
testing.analysis_test bzl:rule 1 rules/lib/toplevel/testing#analysis_test -
82+
testing.ExecutionInfo bzl:function 1 rules/lib/toplevel/testing#ExecutionInfo -
83+
testing.TestEnvironment bzl:function 1 rules/lib/toplevel/testing#TestEnvironment -
7884
toolchain_type bzl:type 1 ules/lib/builtins/toolchain_type.html -
7985
Name bzl:type 1 concepts/labels#target-names -
8086
CcInfo bzl:provider 1 rules/lib/providers/CcInfo -

0 commit comments

Comments
 (0)