Skip to content

Commit dd90639

Browse files
authored
docs: fix link to the portal protocol (#5852)
1 parent ffa193c commit dd90639

File tree

1 file changed

+1
-1
lines changed
  • packages/docusaurus/docs/advanced/01-general-reference/protocols

1 file changed

+1
-1
lines changed

packages/docusaurus/docs/advanced/01-general-reference/protocols/link.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ yarn add imgs@link:./static/imgs
1515

1616
Since the target referenced by `link:` may not exist until postinstall scripts have run, and since Yarn guarantees a predictable behavior regardless of the execution order, we need to disambiguate *packages* (which contain `package.json` files, and may list dependencies of their own) from *arbitrary folders* (which may not).
1717

18-
In practice, this means that `link:` dependencies can only point to arbitrary folders - in other words, whatever it references cannot have a `package.json` file, and thus can't have dependencies. If you need to symlink to a *package*, use [portals](/protocols/portal) instead.
18+
In practice, this means that `link:` dependencies can only point to arbitrary folders - in other words, whatever it references cannot have a `package.json` file, and thus can't have dependencies. If you need to symlink to a *package*, use [portals](/protocol/portal) instead.

0 commit comments

Comments
 (0)