-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Migrate PackageDescription.md reference #8675
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
base: main
Are you sure you want to change the base?
Conversation
The content for `Documentation/PackageDescription.md` is currently hosted on https://docs.swift.org/package-manager/ and is considered legacy content to be removed. The newer version of this documentation is hosted at https://developer.apple.com/documentation/packagedescription for which the content is found under `Sources/PackageDescription/PackageDescription.docc/PackageDescription.md`. We'd like to direct users to this developer documentation from our DocC catalog, but since DocC does not currently support external linking to other DocC catalogs we can simply create an article in our catalog that provides a redirect link to above link.
@swift-ci please test |
@swift-ci please test |
@swift-ci please test windows |
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.
I tried to add a direct HTML style link under the ## Topics
header, but DocC appears to be ignoring arbitrary HTML which is preventing that. Since we don't have a doc:... reference we can use to reference other DocC catalogs, I think using an article as a pass-through is the best we can arrange, even if that's a far worse experience for a reader.
Sources/PackageManagerDocs/Documentation.docc/PackageDescription.md
Outdated
Show resolved
Hide resolved
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.
I think we want to rename the link to "API documentation ..." to differentiate it
- Change name of the developer documentation link to API documentation
@swift-ci please test |
The content for
Documentation/PackageDescription.md
is currently hosted on https://docs.swift.org/package-manager/ and is considered legacy content to be removed. The newer version of this documentation is hosted at https://developer.apple.com/documentation/packagedescription for which the content is found underSources/PackageDescription/PackageDescription.docc/PackageDescription.md
.We'd like to direct users to this developer documentation from our DocC catalog, but since DocC does not currently support external linking to other DocC catalogs we can simply create an article in our catalog that provides a redirect link to above link.
Fixes #8590