Document %workspace% and other token expansions #13480
Labels
help wanted
Someone outside the Bazel team could own this
P2
We'll consider working on this in future. (Assignee optional)
team-Documentation
Documentation improvements that cannot be directly linked to other team labels
team-ExternalDeps
External dependency handling, remote repositiories, WORKSPACE file.
type: documentation (cleanup)
The
%workspace%
token is mentioned in the user manual under the--package_path
flag. It would be way easier to find if expansion tokens were documented in a separate section.It would also be useful to document
The description of
%workspace%
is confusing, since it refers to a "Bazel directory", which seems to mean a directory literally named "bazel". I can't find a precise definition of this term, an it is not mentioned in the concepts page. IIUC a workspace would be a directory containing a "WORKSPACE" file, but that doesn't seem to be what this expansion variable means.The text was updated successfully, but these errors were encountered: