Skip to content

ci: create a build for documents in generated libraries #302

Description

@coryan

AFAICT, the only way to build the documentation requires installing the swift-docc-plugin in your Package.swift file. Otherwise commands like swift package generate-documentation fail (they simply do not exist).

I don't want to install the plugin in all the package files, that seems like adding dependencies that the final consumers may not need.

So we need to be able to generate the docs from the top-level directory. That means all the packages must be targets at the top-level directory too.

We first need to add all the packages to the top-level Package.swift file.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions