Skip to content

Commit 285b188

Browse files
committed
Update code example in contributor documentation to remove deprecated parameters
1 parent 5e3a498 commit 285b188

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Sources/SwiftDocC/SwiftDocC.docc/SwiftDocC/PersistingDocumentation.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ The ``DocumentationNodeConverter`` type converts documentation nodes to renderin
1010

1111
```swift
1212
let converter = DocumentationNodeConverter(bundle: myBundle, context: myContext)
13-
let renderNode = converter.convert(documentationNode,
14-
at: sourceURL, from: bundle)
13+
let renderNode = converter.convert(documentationNode)
1514
```
1615

1716
The render nodes can be persisted on disk as JSON files via `JSONEncodingRenderNodeWriter`:

0 commit comments

Comments
 (0)