The current SwiftPM API can generate Swift symbol graph files for Swift already.
But swift-docc-plugin is hard coded to only support Swift target.
Why don't we relax this restriction and at least allow Clang targets to generate documents for Swift?
See Add Clang source module support by Kyle-Ye · Pull Request #56 · apple/swift-docc-plugin · GitHub