From 4e4b88fd8385471b783c36f3d9835ba177470fc7 Mon Sep 17 00:00:00 2001 From: Matt Brown Date: Tue, 29 Oct 2024 10:26:21 -0700 Subject: [PATCH] docs(module): fix list of bullet points not rendering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Looks like f6687ad45eccfa7928c9a54f3db2e3c660d9bbce didn't fully fix things, based on looking at https://bazel.build/external/module today: Screenshot 2024-10-15 at 1 13 37 PM Closes #23985. PiperOrigin-RevId: 691071540 Change-Id: Ic474af8308843314aaeaaa85a40dfc487cf7efca --- site/en/external/module.md | 1 + 1 file changed, 1 insertion(+) diff --git a/site/en/external/module.md b/site/en/external/module.md index 5c240a5253c4fc..6e6d44abab5d7c 100644 --- a/site/en/external/module.md +++ b/site/en/external/module.md @@ -206,6 +206,7 @@ multiple versions of the module in the entire dependency graph (see Note that **the canonical name format** is not an API you should depend on and **is subject to change at any time**. Instead of hard-coding the canonical name, use a supported way to get it directly from Bazel: + * In BUILD and `.bzl` files, use [`Label.repo_name`](/rules/lib/builtins/Label#repo_name) on a `Label` instance constructed from a label string given by the apparent name of the repo, e.g.,