Small Swift script to serve "DocC" archives, a format to document Swift frameworks and packages: Documenting a Swift Framework or Package.
Note: This is for serving an exported documentation archive (.doccarchive
),
not for building documentation from a DocC catalog.
The server can be either run as a
swift-sh script
(install using a simple brew install mxcl/made/swift-sh
),
from within Xcode or via swift run
.
Example:
$ cd Sources/servedocc
$ ./main.swift ~/Downloads/SlothCreator.doccarchive
servedocc is brought to you by the Always Right Institute and ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.