Macro server 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
Macro is brought to you by ZeeZide. We like feedback, GitHub stars, cool contract work, presumably any form of praise you can think of.
There is a #microexpress
channel on the
Noze.io Slack. Feel free to join!