Replies: 3 comments 14 replies
-
We've very recently added support for custom docc flags. Would that help? You can set them via version: 1
builder:
configs:
- documentation_targets: [t0]
custom_documentation_parameters: [--foo, bar] |
Beta Was this translation helpful? Give feedback.
3 replies
-
How did SPI inject the DocC plugin dependency?🤔️ Can we use similar technique to inject |
Beta Was this translation helpful? Give feedback.
8 replies
-
This is implemented as |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Vapor uses a
BUILDING_DOCC
flag with documentation building, which opts out of@_exported import
s that are annoying in the documentation. We would like similar feature with SPI too.Note that Vapor doesn’t use the DocC plugin. AFAIK the plugin doesn’t support such feature, but it’s rather useful.
https://github.com/vapor/api-docs/blob/e282e02bee7c7f25a61e4744c9add5f067a5af08/generate-package-api-docs.swift#L47
Beta Was this translation helpful? Give feedback.
All reactions