Skip to content

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

bripeticca
Copy link
Contributor

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.

Fixes #8590

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.
@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca
Copy link
Contributor Author

@swift-ci please test windows

Copy link
Member

@heckj heckj left a 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.

Copy link
Member

@heckj heckj left a 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
@bripeticca
Copy link
Contributor Author

@swift-ci please test

@bripeticca bripeticca marked this pull request as ready for review May 16, 2025 18:57
@bripeticca bripeticca requested a review from heckj May 16, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Migrate documentation for Package Description to DocC
2 participants