Skip to content

Commit ed30461

Browse files
authored
Adds DocC catalog to host SwiftPM documentation (#8487)
Adds a `Documentation.docc` directory (a bare DocC catalog) as a stub for migrating existing content in `Documentation/` from general markdown into DocC, as well as providing a base for expanding that documentation. Follow up PRs will bring over and convert content from the `Documentation` directory more piecemeal
1 parent 5b2118b commit ed30461

File tree

3 files changed

+22
-0
lines changed

3 files changed

+22
-0
lines changed

Package.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,12 @@ let package = Package(
429429
]
430430
),
431431

432+
// MARK: Documentation
433+
434+
.target(
435+
name: "PackageManagerDocs"
436+
),
437+
432438
// MARK: Package Manager Functionality
433439

434440
.target(
@@ -1043,6 +1049,8 @@ if ProcessInfo.processInfo.environment["SWIFTCI_USE_LOCAL_DEPS"] == nil {
10431049
.package(url: "https://github.com/apple/swift-collections.git", "1.0.1" ..< "1.2.0"),
10441050
.package(url: "https://github.com/apple/swift-certificates.git", "1.0.1" ..< "1.6.0"),
10451051
.package(url: "https://github.com/swiftlang/swift-toolchain-sqlite.git", from: "1.0.0"),
1052+
// For use in previewing documentation
1053+
.package(url: "https://github.com/swiftlang/swift-docc-plugin", from: "1.1.0"),
10461054
]
10471055
} else {
10481056
package.dependencies += [
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# ``PackageManagerDocs``
2+
3+
@Metadata {
4+
@DisplayName("Swift Package Manager")
5+
}
6+
7+
Organize, manage, and edit Swift packages.
8+
9+
## Overview
10+
11+
The Swift Package Manager is a tool for managing distribution of source code, aimed at making it easy to share your code and reuse others’ code. The tool directly addresses the challenges of compiling and linking Swift packages, managing dependencies, versioning, and supporting flexible distribution and collaboration models.
12+
13+
## Topics
14+

Sources/PackageManagerDocs/EmptyFile.swift

Whitespace-only changes.

0 commit comments

Comments
 (0)