Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

Commit 2ef54e2

Browse files
authored
Fix display of bullet list items in documentation discussion parts (#130)
* Update dependencies * Update use of CommonMark builder interface * Add changelog entries for #130
1 parent 8821e6c commit 2ef54e2

File tree

4 files changed

+16
-16
lines changed

4 files changed

+16
-16
lines changed

Changelog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2929
#145 by @mattt.
3030
- Fixed inclusion of non-public subclasses of public superclasses.
3131
#131 by @MattKiazyk.
32+
- Fixed display of bullet list items in documentation discussion parts.
33+
#130 by @mattt.
3234

3335
## [1.0.0-beta.3] - 2020-05-19
3436

Package.resolved

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ let package = Package(
1212
dependencies: [
1313
.package(url: "https://github.com/apple/swift-syntax.git", .revision("0.50200.0")),
1414
.package(url: "https://github.com/SwiftDocOrg/SwiftSemantics.git", .upToNextMinor(from: "0.1.0")),
15-
.package(url: "https://github.com/SwiftDocOrg/CommonMark.git", .revision("902cc82abc2e8ad23b73c982eed27c63ae3d9384")),
16-
.package(url: "https://github.com/SwiftDocOrg/SwiftMarkup.git", .revision("0.2.0")),
15+
.package(url: "https://github.com/SwiftDocOrg/CommonMark.git", .upToNextMinor(from: "0.4.0")),
16+
.package(url: "https://github.com/SwiftDocOrg/SwiftMarkup.git", .upToNextMinor(from: "0.2.1")),
1717
.package(url: "https://github.com/SwiftDocOrg/GraphViz.git", .upToNextMinor(from: "0.1.2")),
1818
.package(url: "https://github.com/NSHipster/HypertextLiteral.git", .upToNextMinor(from: "0.0.2")),
1919
.package(url: "https://github.com/SwiftDocOrg/Markup.git", .upToNextMinor(from: "0.0.3")),
2020
.package(url: "https://github.com/NSHipster/SwiftSyntaxHighlighter.git", .revision("1.0.0")),
21-
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "0.0.5")),
21+
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMinor(from: "0.0.6")),
2222
.package(url: "https://github.com/apple/swift-log.git", .upToNextMinor(from: "1.2.0")),
2323
.package(url: "https://github.com/NSHipster/swift-log-github-actions.git", .upToNextMinor(from: "0.0.1")),
2424
],

Sources/swift-doc/Supporting Types/Components/Abstract.swift

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,11 @@ struct Abstract: Component {
1919
if let summary = symbol.documentation?.summary {
2020
return Fragment {
2121
List.Item {
22-
Paragraph {
23-
Link(urlString: path(for: symbol, with: baseURL), text: symbol.id.description)
24-
Text { ":" }
25-
}
26-
2722
Fragment {
28-
summary
23+
#"""
24+
[\#(symbol.id)](\#(path(for: symbol, with: baseURL))):
25+
\#(summary)
26+
"""#
2927
}
3028
}
3129
}

0 commit comments

Comments
 (0)