Skip to content

Commit

Permalink
Fixup broken links
Browse files Browse the repository at this point in the history
Fixes up several broken links in the documentation:
- ExamplePlugin was rolled in to the MacroExamples in swiftlang#2222 but the
  link was not updated.
- A link the changelog pointed to sourcekit-lsp when it should have been
  swift-syntax.
- The Parsing Basics document has moved.
  • Loading branch information
plemarquand committed Oct 7, 2024
1 parent 2a731fb commit df53b8a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Contributor Documentation/Changing Swift Syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Node(

Added syntactic elements will require corresponding changes to the included
SwiftParser library. For an introduction on parsing Swift nodes, see
[the article on Parsing Basics](https://github.com/swiftlang/swift-syntax/tree/main/Sources/SwiftParser/SwiftParser.docc/ParsingBasics.md).
[the article on Parsing Basics](./Parsing%20Basics.md).

When updating nodes, certain clients of SwiftSyntax that are relying upon those
nodes will need to be changed in tandem. For example, the
Expand Down
2 changes: 1 addition & 1 deletion Examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Each example can be executed by navigating into this folder and running `swift r

- [AddOneToIntegerLiterals](Sources/AddOneToIntegerLiterals/AddOneToIntegerLiterals.swift): Command line tool to add 1 to every integer literal in a source file
- [CodeGenerationUsingSwiftSyntaxBuilder](Sources/CodeGenerationUsingSwiftSyntaxBuilder/CodeGenerationUsingSwiftSyntaxBuilder.swift): Code-generate a simple source file using SwiftSyntaxBuilder
- [ExamplePlugin](Sources/ExamplePlugin): Compiler plugin executable using [`SwiftCompilerPlugin`](../Sources/SwiftCompilerPlugin)
- [ExamplePlugin](Examples/Sources/MacroExamples/Implementation/Plugin.swift): Compiler plugin executable using [`SwiftCompilerPlugin`](../Sources/SwiftCompilerPlugin)
- [MacroExamples](Sources/MacroExamples): A collection of Swift macros

Furthermore, SwiftSyntax uses [`SwiftSyntaxBuilder`](../Sources/SwiftSyntaxBuilder) extensively to generate its own code. That code can be found in the [CodeGeneration](../CodeGeneration) package.
Expand Down
2 changes: 1 addition & 1 deletion Release Notes/600.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@

- `DeclGroupSyntax.introducer`
- Description: The `DeclGroupSyntax` trait has an extra `introducer` property, ie. the keyword that introduces the declaration.
- Issue: https://github.com/swiftlang/sourcekit-lsp/issues/2535
- Issue: https://github.com/swiftlang/swift-syntax/issues/2535
- Pull Request: https://github.com/swiftlang/swift-syntax/pull/2539

- `ExprSyntax.interpretedAsVersionTuple`
Expand Down

0 comments on commit df53b8a

Please sign in to comment.