Skip to content

Commit fc7c72d

Browse files
committed
Swift: tweaks to the schema doc documentation
1 parent adf47b9 commit fc7c72d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift/schema_documentation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class ErrorElement(Locatable):
1111
```
1212

1313
This gets copied verbatim as QL doc comments for the class (with some internal handling for preservation of indentation,
14-
as explained in https://peps.python.org/pep-0257/#handling-docstring-indentation)
14+
as explained in https://peps.python.org/pep-0257/#handling-docstring-indentation).
1515

1616
## Properties
1717

@@ -25,7 +25,7 @@ example property `name` in class `File` will get documented as
2525
```
2626

2727
This documentation generation will expand common abbreviations. The list of expanded abbreviations can be found
28-
in `swift/codegen/generators/qlgen.py`.
28+
in [`codegen/generators/qlgen.py`](./codegen/generators/qlgen.py) as a dictionary under the `abbreviations` variable.
2929

3030
The `name of this file` part in the example above can be customized by appending `| doc("<replacement>")` to the
3131
property specification, for example

0 commit comments

Comments
 (0)