I just want to announce I created a fastlane action for SwiftDoc, since I couldn’t find it in the fastlane official docs.

SwiftDoc is yet another documentation generator, and it’s dedicated for Swift project. It has very clean UI and also generates beautiful dependency graph. I introduced my private swift project.

Here is the script.

Place this script into fastlane/actions, and run in Fastfile

e.g.

    swiftdoc(
      input: "Sources",
      module_name: "YourModuleName",
      output: "docs/",
      base_url: "/",
      format: "html"
    )

You can publish it into github pages, netlify, and so on.