Skip to content

Commit 5539bc1

Browse files
authored
Migrate PackageDescription.md reference (#8675)
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
1 parent 8ab590c commit 5539bc1

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Sources/PackageManagerDocs/Documentation.docc/Documentation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ The Swift Package Manager leets you share your code as a package, depend on and
2727
<!-- - <doc:swift-docc-plugin> -->
2828
<!-- - <doc:swift-container-plugin> -->
2929

30-
<!-- ### Reference -->
31-
<!-- link to PackageDescription API reference docc -->
30+
### Reference
31+
- <doc:PackageDescription> <!-- redirect page to PackageDescription API reference docc -->
3232
<!-- link to Command API reference docc - the DocC Plugin API (PackagePlugin) -->
3333

3434
<!-- reference content for the CLI commands `swift ...` -->
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Package Description
2+
3+
Create reusable code, organize it in a lightweight way, and share it across your projects and with other developers.
4+
5+
For more information about the `PackageDescription` framework, please visit the [API documentation](https://developer.apple.com/documentation/packagedescription).

0 commit comments

Comments
 (0)