New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix broken links in documentation for PackageRegistry #7070
Conversation
@@ -127,8 +127,8 @@ and apply them automatically when making registry API requests. | |||
## Dependency Resolution Using Registry | |||
|
|||
Resolving a registry dependency involves these steps: | |||
1. Fetch a package's available versions by calling the [list package releases](https://github.com/apple/swift-package-manager/blob/main/Documentation/Registry.md#41-list-package-releases) API. | |||
2. Compute the dependency graph by [fetching manifest(s) for a package release](https://github.com/apple/swift-package-manager/blob/main/Documentation/Registry.md#43-fetch-manifest-for-a-package-release). | |||
1. Fetch a package's available versions by calling the [list package releases](https://github.com/apple/swift-package-manager/blob/main/Documentation/PackageRegistry/Registry.md#41-list-package-releases) API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this use relative links instead, to avoid possible future breakage?
1. Fetch a package's available versions by calling the [list package releases](https://github.com/apple/swift-package-manager/blob/main/Documentation/PackageRegistry/Registry.md#41-list-package-releases) API. | |
1. Fetch a package's available versions by calling the [list package releases](Registry.md#41-list-package-releases) API. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes – it does work. Nice one. Applying changes now
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
@swift-ci test |
Broken link - https://github.com/apple/swift-package-manager/blob/main/Documentation/Registry.md
Good link - https://github.com/apple/swift-package-manager/blob/main/Documentation/PackageRegistry/Registry.md