apple / swift-migration-guide
- воскресенье, 2 июня 2024 г. в 00:00:10
This repository contains the source for The Swift Concurrency Migration Guide, which is built using Swift-DocC.
See the contributing guide for instructions on contributing to the Swift Migration Guide.
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 inusr/bin/
, relative to the installation path of the toolchain. Make sure your shell'sPATH
environment variable includes that directory.If you installed DocC by downloading Xcode, use
xcrun docc
instead.