Skip to content

Commit 9b2f083

Browse files
authored
[doc] update docs to reflect bazel upstream changes (#2752)
bazelbuild/bazel@02df95c has removed repo_mapping from stardoc's data source, so it's no longer emitted to generated docs. This PR fixes CI to reflect. Note that running stardoc without using `last_green` Bazel produces different output, because of this change.
1 parent 4d9104d commit 9b2f083

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

doc/rules-apple.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ ios_application(
402402
<pre>
403403
load("@rules_apple//apple:apple.bzl", "provisioning_profile_repository")
404404

405-
provisioning_profile_repository(<a href="#provisioning_profile_repository-name">name</a>, <a href="#provisioning_profile_repository-fallback_profiles">fallback_profiles</a>, <a href="#provisioning_profile_repository-repo_mapping">repo_mapping</a>)
405+
provisioning_profile_repository(<a href="#provisioning_profile_repository-name">name</a>, <a href="#provisioning_profile_repository-fallback_profiles">fallback_profiles</a>)
406406
</pre>
407407

408408
This rule declares an external repository for discovering locally installed
@@ -462,7 +462,6 @@ ios_application(
462462
| :------------- | :------------- | :------------- | :------------- | :------------- |
463463
| <a id="provisioning_profile_repository-name"></a>name | A unique name for this repository. | <a href="https://bazel.build/concepts/labels#target-names">Name</a> | required | |
464464
| <a id="provisioning_profile_repository-fallback_profiles"></a>fallback_profiles | - | <a href="https://bazel.build/concepts/labels">Label</a> | optional | `None` |
465-
| <a id="provisioning_profile_repository-repo_mapping"></a>repo_mapping | In `WORKSPACE` context only: a dictionary from local repository name to global repository name. This allows controls over workspace dependency resolution for dependencies of this repository.<br><br>For example, an entry `"@foo": "@bar"` declares that, for any time this repository depends on `@foo` (such as a dependency on `@foo//some:target`), it should actually resolve that dependency within globally-declared `@bar` (`@bar//some:target`).<br><br>This attribute is _not_ supported in `MODULE.bazel` context (when invoking a repository rule inside a module extension's implementation function). | <a href="https://bazel.build/rules/lib/dict">Dictionary: String -> String</a> | optional | |
466465

467466
**ENVIRONMENT VARIABLES**
468467

0 commit comments

Comments
 (0)