Skip to main content

Generate documentation

When working in modular codebases, it might be useful to check out the documentation of the public API of a given module. For that reason, Tuist provides a command, tuist doc, that given a target, it generates its documentation and opens it on the browser. Under the hood, it uses swift-doc.

tuist doc --path /path/to/Project.swift MyApp


--path-pPath to the project's directory where the Project.swift is located.Current directoryNo