Some truly game-changing improvements to Swift-DocC documentation are available in an Xcode 15 beta near you. Some highlights are in the thread below, but check out the "Create rich documentation with Swift-DocC" session to learn more. 🧵

#WWDC23

https://developer.apple.com/videos/play/wwdc2023/10244/

Create rich documentation with Swift-DocC - WWDC23 - Videos - Apple Developer

Learn how you can take advantage of the latest features in Swift-DocC to create rich and detailed documentation for your app or...

Apple Developer

Documentation Preview provides a side-by-side preview of your rendered documentation – updating in real-time as you type.

Check it out by activating Xcode's assistant editor via Editor > Assistant, and then selecting “Documentation Preview” in the jump bar.

Documentation built with Xcode 15 now includes pages for Swift extensions to external modules.

The underlying support for this feature was driven by
@_maxobermeier in the Swift open-source community. So exciting to see it ship as enabled by default in Xcode 15 and Swift 5.9.

Swift-DocC websites now include a quick navigation feature that allows you to jump directly to a page just by typing its name.

Shout-out to Sofía Rodríguez (https://twitter.com/sofiaromorales) who drove the original version of this feature as a GSoC project. 🥳

(Pro-tip: Try pressing Shift+Cmd+O on http://developer.apple.com/documentation)

Sofía Rodríguez (@sofiaromorales) / Twitter

GSoC'22 @ Swift | 4x WWDC scholar | @GitHub Campus Expert - 👩🏼‍💻🇻🇪

Twitter

Swift-DocC now supports designing pages with fully custom layouts by utilizing new directives like Row/Column, TabNavigator, PageImage, and Video.

Check out the documentation (and the session) to learn more: https://developer.apple.com/documentation/docc/api-reference-syntax#configuring-documentation-behavior

API Documentation | Apple Developer Documentation

Teach developers your Swift and Objective-C APIs through reference documentation you create from comments in Swift source code, Objective-C header files, and documentation extension files.

Apple Developer Documentation

I'd love to know what you think! And, of course, don't forget to watch the session and sign up for Wednesday's documentation lab (linked below the session video) to learn more.

https://developer.apple.com/videos/play/wwdc2023/10244/

Create rich documentation with Swift-DocC - WWDC23 - Videos - Apple Developer

Learn how you can take advantage of the latest features in Swift-DocC to create rich and detailed documentation for your app or...

Apple Developer
@kusters @_maxobermeier so pumped for this one. Just wonderful stuff!
@kusters Wow, so cool to see this featured at WWDC! I’m looking forward to trying all the other cool features added this year. Loved your presentation Ethan!