github

apple / swift-migration-guide

  • воскресенье, 2 июня 2024 г. в 00:00:10
https://github.com/apple/swift-migration-guide



The Swift Concurrency Migration Guide

This repository contains the source for The Swift Concurrency Migration Guide, which is built using Swift-DocC.

Contributing

See the contributing guide for instructions on contributing to the Swift Migration Guide.

Building

Run docc preview Guide.docc in this repository's root directory.

After running DocC, open the link that docc outputs to display a local preview in your browser.

Note:

If you installed DocC by downloading a toolchain from Swift.org, docc is located in usr/bin/, relative to the installation path of the toolchain. Make sure your shell's PATH environment variable includes that directory.

If you installed DocC by downloading Xcode, use xcrun docc instead.