Skip to content

Remove explicit swift-docc-plugin dependency - #10527

Merged
jakepetroules merged 1 commit into
swiftlang:mainfrom
jakepetroules:jake-petroules/remove-docc-plugin
Sep 14, 2026
Merged

jakepetroules merged 1 commit into
swiftlang:mainfrom
jakepetroules:jake-petroules/remove-docc-plugin

Conversation

@jakepetroules

@jakepetroules jakepetroules commented Sep 12, 2026 •

Copy link
Copy Markdown
Contributor

Nowadays (as weird as it is) projects are not expected to have the dependency declared explicitly. It must be added ad-hoc or by the swift package index. Otherwise all kinds of tools break, including swiftlang/docs.

It would be ideal that all projects can just add the plugin, but that's not the state of the world nowadays.

Meanwhile @ktoso did workarounds in adopter projects to unbreak swiftlang/docs building with those added, more details here swiftlang/swift-java#845

Nowadays (as weird as it is) projects are not expected to have the
dependency declared explicitly. It must be added ad-hoc or by the
swift package index. Otherwise all kinds of tools break, including
swiftlang/docs.

It would be ideal that all projects can just add the plugin, but
that's not the state of the world nowadays.

Meanwhile I did workarounds in adopter projects to unbreak
swiftlang/docs building with those added, more details here
swiftlang/swift-java#845
@jakepetroules

Copy link
Copy Markdown
Contributor Author

@swift-ci test

@jakepetroules
jakepetroules enabled auto-merge (rebase) September 12, 2026 01:54
@jakepetroules

Copy link
Copy Markdown
Contributor Author

@swift-ci test windows

@jakepetroules
jakepetroules merged commit 368014f into swiftlang:main Sep 14, 2026
68 checks passed
@jakepetroules
jakepetroules deleted the jake-petroules/remove-docc-plugin branch September 14, 2026 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants