Skip to content

Commit

Permalink
docs: add code documentation
Browse files Browse the repository at this point in the history
add swift-docc-plugin
  • Loading branch information
bsorrentino committed Aug 13, 2024
1 parent 6a464d2 commit 9e6ce90
Show file tree
Hide file tree
Showing 3 changed files with 651 additions and 247 deletions.
24 changes: 24 additions & 0 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"originHash" : "e05386fa6eab1ec6655fac00fb86639842bce2925cd3deaaac2890d577315650",
"pins" : [
{
"identity" : "swift-docc-plugin",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-docc-plugin",
"state" : {
"branch" : "main",
"revision" : "d80a059824dba4fcebe17913c72553cc4bc63422"
}
},
{
"identity" : "swift-docc-symbolkit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swiftlang/swift-docc-symbolkit",
"state" : {
"revision" : "b45d1f2ed151d057b54504d653e0da5552844e34",
"version" : "1.0.0"
}
}
],
"version" : 3
}
8 changes: 7 additions & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,20 @@ let package = Package(
],
dependencies: [
// .package(url: "https://github.com/apple/swift-async-algorithms", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-docc-plugin", branch: "main"),
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
// Targets can depend on other targets in this package and products from dependencies.
.target(
name: "LangGraph", dependencies: [
// .product(name: "AsyncAlgorithms", package: "swift-async-algorithms"),
], resources: [ .process("Resources")]),
],
resources: [ .process("Resources")]
// plugins: [
// .plugin(name: "Swift-DocC", package: "swift-docc-plugin")
// ]
),
.testTarget(
name: "LangGraphTests",
dependencies: ["LangGraph"]),
Expand Down
Loading

0 comments on commit 9e6ce90

Please sign in to comment.