Skip to content

Commit fa5fcdb

Browse files
authored
Port contents of Documentation/libSwiftPM.md to DocC (#8725)
Fixes #8594 Port the contents of `Documentation/libSwiftPM.md` over to our DocC catalog in `Sources/PackageManagerDocs/Documentation.docc/SwiftPMAsALibrary.md`.
1 parent 0fa9f73 commit fa5fcdb

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

Sources/PackageManagerDocs/Documentation.docc/Documentation.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Organize, manage, and edit Swift packages.
88

99
## Overview
1010

11-
The Swift Package Manager leets you share your code as a package, depend on and use other share packages, as well as build, test, document, and run your code.
11+
The Swift Package Manager lets you share your code as a package, depend on and use other share packages, as well as build, test, document, and run your code.
1212

1313
## Topics
1414

@@ -23,6 +23,7 @@ The Swift Package Manager leets you share your code as a package, depend on and
2323
- <doc:AddingDependencies>
2424
- <doc:ResolvingPackageVersions>
2525
- <doc:CreatingCLanguageTargets>
26+
- <doc:SwiftPMAsALibrary>
2627

2728
<!-- ### Command Plugins -->
2829
<!-- placeholder for content about swift package manager extensions - command plugins -->
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# SwiftPM as a library
2+
3+
Include Swift Package Manager as a dependency in your Swift package.
4+
5+
## Overview
6+
7+
> Warning: **The libSwiftPM API is _unstable_ and may change at any time.**
8+
9+
SwiftPM has a library based architecture and the top-level library product is
10+
called `libSwiftPM`. Other packages can add SwiftPM as a package dependency and
11+
create powerful custom build tools on top of `libSwiftPM`.
12+
13+
A subset of `libSwiftPM` that includes only the data model (without SwiftPM's
14+
build system) is available as `libSwiftPMDataModel`. Any one client should
15+
depend on one or the other, but not both.

0 commit comments

Comments
 (0)