Apple's Swift-DocC, a documentation compiler for Swift frameworks and packages, has been released in open source. It is now freely available to developers and lets them add extensive documentation along with the code. It was announced at the Worldwide Developers Conference 2021 by Apple.
- Swift-DocC is included in the Xcode 13 tools and enables developers to write documentation on different platforms, including macOS and Linux.
- It was developed with the goals to integrate with existing development tools, simplifying authoring rich documentation, encouraging high-level technical articles, adding rich tutorials for new developers, and organizing documentation.
- The open-source project is composed of several components, including Swift-DocC, Swift-DocC-Render, Swift-Markdown, and SymbolKit.
- The next step for the project will include integrating Swift-DocC with core Swift tools.