Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Specify Platform For Documents Generation #38

Open
2 tasks done
justinguo opened this issue Dec 8, 2022 · 1 comment
Open
2 tasks done

Cannot Specify Platform For Documents Generation #38

justinguo opened this issue Dec 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@justinguo
Copy link

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

  • If possible, I've reproduced the issue using the main branch of this package.
  • This issue hasn't been addressed in an existing GitHub issue.

Expected behavior

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.

Swift-DocC Plugin Version Information

Swift-DocC plugin version: 5f2e247
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

@justinguo justinguo added the bug Something isn't working label Dec 8, 2022
@x-0o0
Copy link

x-0o0 commented Nov 4, 2023

Any updates?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants