swiftlang / swift-docc-plugin

Swift Package Manager command plugin for Swift-DocC
https://swiftpackageindex.com/swiftlang/swift-docc-plugin/documentation/swiftdoccplugin
Apache License 2.0
326 stars 52 forks source link

[Combined Documentation] Targets are missing some dependencies #97

Closed d-ronnqvist closed 2 months ago

d-ronnqvist commented 2 months ago

Creating this issue that was brought to my attention by @nmggithub:

The new experimental combined documentation support doesn't provide targets with all of their dependencies' documentation.

Checklist

Expected behavior

A target with multiple dependencies should be able to link against all of those dependencies

Actual behavior

A target with multiple dependencies is only able to link against one of its dependencies

Steps to Reproduce

Build combined documentation for a package where one of the targets depends on two or more other targets in that package, passing the --verbose flag.

In the docc convert call for the target with two or more dependencies there should be as many --dependency arguments.

Swift-DocC Plugin Version Information

Swift-DocC plugin version: 1.4.2 for example, or a commit hash. Swift Compiler version: swiftlang-6.0.0.9.10 clang-1600.0.26.2 (but it's not relevant to this bug)

d-ronnqvist commented 2 months ago

This bug is fixed in the 1.4.3 release.

cc @nmggithub