Skip to content

Commit a120d68

Browse files
committed
Clarified a comment.
1 parent 865bc62 commit a120d68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/App/Views/DocumentationPageProcessor.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,9 @@ struct DocumentationPageProcessor {
8282
try document.head()?.append(self.stylesheetLink)
8383
if let canonicalUrl = self.canonicalUrl {
8484
try document.head()?.append(
85-
// We should not use `url` here as some of the DocC JavaScript lowercases
86-
// both the `og:url` and `twitter:url` properties, if present. It is better
87-
// to have no `og:url` and `twitter:url` properties than incorrect ones.
85+
// We should not use Plot's `url` helper here as some of the DocC JavaScript
86+
// lowercases both the `og:url` and `twitter:url` properties, if present. It's
87+
// better to have no `og:url` and `twitter:url` properties than incorrect ones.
8888
Plot.Node.link(
8989
.rel(.canonical),
9090
.href(canonicalUrl)

0 commit comments

Comments
 (0)