Skip to content

Commit 18d9cb8

Browse files
committed
Add DocC to SwiftSyntax
1 parent e657dc0 commit 18d9cb8

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Package.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version:5.3
1+
// swift-tools-version:5.6
22

33
import PackageDescription
44
import Foundation
@@ -43,6 +43,9 @@ let package = Package(
4343
.library(name: "SwiftSyntaxBuilder", type: .static, targets: ["SwiftSyntaxBuilder"]),
4444
.executable(name: "SwiftSyntaxBuilderGeneration", targets: ["SwiftSyntaxBuilderGeneration"])
4545
],
46+
dependencies: [
47+
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
48+
],
4649
targets: [
4750
.target(
4851
name: "_CSwiftSyntax",
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# ``SwiftSyntax``
2+
3+
SwiftSyntax is a set of Swift bindings for the
4+
[libSyntax](https://github.com/apple/swift/tree/main/lib/Syntax) library. It
5+
allows Swift tools to parse, inspect, generate, and transform Swift source
6+
code.
7+
8+
Its API is designed for performance-critical applications. It uses value types almost exclusively and aims to avoid existential conversions where possible.

0 commit comments

Comments
 (0)