@@ -26,14 +26,14 @@ def absolute(
2626 deps = ["%s_sibling" % absolute(dep) for dep in deps],
2727 )
2828 ```
29-
29+
3030 Args:
3131 target: A label string which may be relative or absolute.
3232 repository_name: Function which returns the repository name. Used for
3333 tests only, should not be set in production code.
3434 package_name: Function which returns the package name. Used for tests
3535 only, should not be set in production code.
36-
36+
3737 Returns: The absolute path to the provided target. If the target is
3838 relative, then it is interpretted as relative to the current package as
3939 determined by `native.repository_name()` and `native.package_name()`.
@@ -57,7 +57,7 @@ def file_path_of(lbl):
5757 Example:
5858 `//path/to/internal/pkg:target` => `./path/to/internal/pkg/target`
5959 `@wksp//path/to/external/pkg:target` => `../wksp/path/to/external/pkg/target`
60-
60+
6161 Note the leading `../` for external packages, meaning they will resolve
6262 correctly from the `execroot/__main__/` directory most actions use as the
6363 current working directory by default.
@@ -75,7 +75,7 @@ def file_path_of(lbl):
7575
7676def rel_path (file_path , package_name = native .package_name ):
7777 """Converts a workspace-relative absolute path to a relative path.
78-
78+
7979 Args:
8080 file_path: Absolute file path from workspace root.
8181 package_name: Function which returns the package name. Used for tests
0 commit comments