Skip to content

Commit 9867ada

Browse files
committed
Add DocC to SwiftSyntax
1 parent e657dc0 commit 9867ada

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.spi.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
version: 1
2+
builder:
3+
configs:
4+
- platform: macos
5+
documentation_targets: [SwiftSyntax, SwiftSyntaxBuilder, SwiftSyntaxParser]
6+
- platform: linux
7+
documentation_targets: [SwiftSyntax, SwiftSyntaxBuilder, SwiftSyntaxParser]

Package.swift

Lines changed: 3 additions & 3 deletions
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
@@ -94,11 +94,11 @@ let package = Package(
9494
name: "_SwiftSyntaxTestSupport",
9595
dependencies: ["SwiftSyntax"]
9696
),
97-
.target(
97+
.executableTarget(
9898
name: "lit-test-helper",
9999
dependencies: ["SwiftSyntax", "SwiftSyntaxParser"]
100100
),
101-
.target(
101+
.executableTarget(
102102
name: "SwiftSyntaxBuilderGeneration",
103103
dependencies: ["SwiftSyntaxBuilder"],
104104
exclude: [
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)