I suspect the issue here is that the --checkout-path is provided is a relative path rather than an absolute direct path to the checkout. Or rather, DocC should accept a relative path. If that's indeed the issue, this is probably where things would fail: swift-docc/SourceRepository.swift at main · apple/swift-docc · GitHub. We'd want to make DocC resolve the relative path to an absolute path before determining the path of the source file relative to the root of the checkout.
1 Like