Using the Swift Package Manager command plugin for Swift-DocC
This reference shows how to use the Swift Package Manager command plugin for Swift-DocC to export documentation for static web hosting.

Alongside the release of Swift 5.6 there is now a Swift-DocC Plugin that can be used with Swift Package Manager. It can support you to create Swift-DocC documentation for Swift Package libraries and executables. Apple also provides some more extensive information on its usage in the official Apple Developer Documentation.
Let's have a look at how this works. Become a free member or log in to proceed.