Instance Property
baseURL
The URL to use as base for all URLs in the bundle.
var baseURL: URL
Discussion
Leaves to the model to determine a base URL for the presentation, e.g. there might be a path prefix coming from Info.plist or elsewhere. Here are some examples:
baseURL(”/”) ~> /tutorials/SwiftUI/TutorialName
baseURL(”/prefix”) ~> /prefix/tutorials/SwiftUI/TutorialName
baseURL(“doc://org.swift.example-bundle”) ~> doc://org.swift.example-bundle/Example/TutorialName
baseURL(“http://domain.com/prefix”) ~> http://domain.com/prefix/tutorials/Example/TutorialName