Reworded the documentation of the organization identifier helper in the Infrastructure package target.
This commit is contained in:
@@ -25,10 +25,10 @@ public struct StructuredData: Equatable, Sendable {
|
||||
|
||||
// MARK: Methods
|
||||
|
||||
/// The `@id` of the `Organization` node ``init(name:url:alternateName:description:areaServed:email:logo:profiles:)`` builds.
|
||||
/// The `@id` of the `Organization` node the site-wide initializer builds.
|
||||
///
|
||||
/// A page on another path that asserts a relationship to the organization — a `Person`'s `worksFor`, say — references this rather than
|
||||
/// spelling the fragment a second time, so the two can never drift apart.
|
||||
/// A page asserting a relationship to it — a `Person`'s `worksFor`, say — references this instead of spelling the fragment again, so the two
|
||||
/// cannot drift.
|
||||
/// - Parameter url: the absolute URL the site is served at, as passed to that initializer.
|
||||
/// - Returns: the organization node's `@id`.
|
||||
public static func organizationID(
|
||||
|
||||
Reference in New Issue
Block a user