Glossary: add links to the relevant documentation
RELNOTES: None.
PiperOrigin-RevId: 296266606
diff --git a/site/docs/glossary.md b/site/docs/glossary.md
index 1d30d1a..3619390 100644
--- a/site/docs/glossary.md
+++ b/site/docs/glossary.md
@@ -12,6 +12,8 @@
Includes metadata like the command line arguments, action key, environment
variables, and declared input/output artifacts.
+**See also:** [Rules documentation](skylark/rules.html#actions)
+
#### Action cache
An on-disk cache that stores a mapping of executed [actions](#action) to the
@@ -172,6 +174,8 @@
flags](#command-flags). [Transitions](#transition) may create additional
configurations, e.g. for host tools or cross-compilation.
+<!-- TODO: #### Configuration fragment -->
+
#### Configuration trimming
The process of only including the pieces of [configuration](#configuration) a
@@ -187,6 +191,8 @@
completes). This means `select()` and [build flags](#command-flags) (e.g.
`--platforms`) are accurately reflected in the results.
+**See also:** [cquery documentation](cquery.html)
+
#### Configured target
The result of evaluating a [target](#target) with a
@@ -222,6 +228,8 @@
huge memory consumption. Also known as *nested sets* in Bazel's internal
implementation.
+**See also:** [Depset documentation](skylark/depsets.html)
+
#### Disk cache
A local on-disk blob store for the remote caching feature. Can be used in
@@ -308,6 +316,8 @@
patterns across BUILD files. Expanded to the underlying rule target declarations
during the [loading phase](#loading-phase).
+**See also:** [Macro documentation](skylark/macros.html)
+
#### Mnemonic
A short, human-readable string selected by a rule author to quickly understand
@@ -373,6 +383,8 @@
transitive output files, and build metadata. Frequently used in conjunction with
[depsets](#depset).
+**See also:** [Provider documentation](rules.html#providers)
+
#### Query (concept)
The process of analyzing a [build graph](#build-graph) to understand
@@ -387,6 +399,8 @@
but can't analyze the effects of `select()`, [build flags](#command-flags),
[artifacts](#artifact), or build [actions](#action).
+**See also:** [Query how-to](query-how-to.html), [Query reference](query.html)
+
#### Repository cache
A shared content-addressable cache of files downloaded by Bazel for builds,
@@ -414,6 +428,8 @@
rule targets in the form of [providers](#provider) (e.g. `DefaultInfo`
provider).
+**See also:** [Rules documentation](skylark/rules.html)
+
#### Runfiles
The runtime dependencies of an executable [target](#target). Most commonly, the
@@ -422,6 +438,8 @@
bazel test), Bazel prepares the tree of runfiles alongside the test executable
according to their source directory structure.
+**See also:** [Runfiles documentation](skylark/rules.html#runfiles)
+
#### Sandboxing
A technique to isolate a running [action](#action) inside a restricted and
@@ -455,6 +473,8 @@
restricted version of Starlark (e.g. no `def` function definitions). Formerly
known as Skylark.
+**See also:** [Starlark language documentation](skylark/language.html)
+
<!-- TODO: #### Starlark rules -->
<!-- TODO: #### Starlark rule sandwich -->
@@ -540,6 +560,8 @@
upon by other targets in the same [package](#package). Can be made visible to
specific packages or be completely public.
+**See also:** [Visibility documentation](be/common-definitions.html#common-attributes)
+
#### Workspace
A directory containing a `WORKSPACE` file and source code for the software you