<!--
{
  "documentType" : "article",
  "framework" : "Xcode",
  "identifier" : "/documentation/Xcode/slothcreator-building-docc-documentation-in-xcode",
  "metadataVersion" : "0.1.0",
  "role" : "sampleCode",
  "title" : "SlothCreator: Building DocC documentation in Xcode"
}
-->

# SlothCreator: Building DocC documentation in Xcode

Build DocC documentation for a Swift package that contains a DocC Catalog.

## Overview

> Note: This sample code project is associated with the WWDC23 session [10244: Create rich documentation with Swift-DocC](https://developer.apple.com/wwdc23/10244) and WWDC22 sessions [110368: What’s new in Swift-DocC](https://developer.apple.com/wwdc22/110368) and [110369: Improve the discoverability of your Swift-DocC content](https://developer.apple.com/wwdc22/110369). It’s also associated with WWDC21 sessions [10166: Meet DocC documentation in Xcode](https://developer.apple.com/wwdc21/10166), [10167: Elevate your DocC documentation in Xcode](https://developer.apple.com/wwdc21/10167), [10236: Host and automate your DocC Documentation](https://developer.apple.com/wwdc21/10236), and [10235: Build interactive tutorials in DocC](https://developer.apple.com/wwdc21/10235).

### Configure the sample code project

To build documentation for this package, use Xcode 13, open the `Package.swift` file, and select Product > Build Documentation.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)