Currently we cannot specify the build platform for swift-docc-plugin. This means that the generate-documentation command only generates documentation for macOS. We hope that in the future there can be a -platform flag to allow document generation for a specific platform.
Checklist
[X] If possible, I've reproduced the issue using the main branch of this package.
There can be a -platform flag to allow document generation for a specific platform. For example, we can generate documents for iOS platform or tvOS platform.
Actual behavior
The generate-documentation command only generates documentation for macOS.
Steps to Reproduce
Run swift package generate-documentation, it is no possible to specify the platform information.
Currently we cannot specify the build platform for
swift-docc-plugin
. This means that thegenerate-documentation
command only generates documentation formacOS
. We hope that in the future there can be a-platform
flag to allow document generation for a specific platform.Checklist
main
branch of this package.Expected behavior
There can be a
-platform
flag to allow document generation for a specific platform. For example, we can generate documents foriOS
platform ortvOS
platform.Actual behavior
The
generate-documentation
command only generates documentation formacOS
.Steps to Reproduce
Run
swift package generate-documentation
, it is no possible to specify the platform information.Swift-DocC Plugin Version Information
Swift-DocC plugin version: https://github.com/apple/swift-docc-plugin/commit/5f2e247f5efef4ff8ee603443a9a29225ce9f0e2 Swift Compiler version: swift-driver version: 1.62.15 Apple Swift version 5.7.1 (swiftlang-5.7.1.135.2 clang-1400.0.29.51) Target: arm64-apple-macosx13.0