WWDC23: Create rich documentation with Swift-DocC | Apple

WWDC23: Create rich documentation with Swift-DocC | Apple

2.790 Lượt nghe
WWDC23: Create rich documentation with Swift-DocC | Apple
Learn how you can take advantage of the latest features in Swift-DocC to create rich and detailed documentation for your app or framework. We’ll show you how to use the Xcode 15 Documentation Preview editor to efficiently iterate on your existing project’s documentation, and explore expanded authoring capabilities like grid-based layouts, video support, and custom themes. To get the most out of this session, you should have a working knowledge of the basics of Swift-DocC documentation. Explore related documentation, sample code, and more: DocC: https://developer.apple.com/documentation/docc What’s new in Xcode 15: https://developer.apple.com/videos/play/wwdc2023/10165 What's new in Swift-DocC: https://developer.apple.com/videos/play/wwdc2022/110368 Improve the discoverability of your Swift-DocC content: https://developer.apple.com/videos/play/wwdc2022/110369 Meet DocC documentation in Xcode: https://developer.apple.com/videos/play/wwdc2021/10166 Elevate your DocC documentation in Xcode: https://developer.apple.com/videos/play/wwdc2021/10167 Build interactive tutorials using DocC: https://developer.apple.com/videos/play/wwdc2021/10235 00:00 - Introduction and overview of Swift-DocC 03:33 - Building and browsing documentation in Xcode 06:21 - Documenting Swift extensions 08:05 - Activating the Documentation Preview editor 09:44 - Adding an image to your documentation 12:06 - Organizing documentation pages into Topic Groups 13:53 - Using Swift-DocC directives to create rich documentation pages 25:12 - Theming the online version of your documentation 28:29 - Publishing and browsing documentation on the web 31:02 - Quick navigation More Apple Developer resources: Video sessions: https://apple.co/VideoSessions Documentation: https://apple.co/DeveloperDocs Forums: https://apple.co/DeveloperForums App: https://apple.co/DeveloperApp