swift-unidoc icon indicating copy to clipboard operation
swift-unidoc copied to clipboard

Add environment key support when building documentation

Open Kyle-Ye opened this issue 4 months ago • 1 comments

Sometimes, due to various reasons (eg. upstream bug or complex business logic), we need to adjust some swiftsetting when building the documentation.

SwiftPackageIndex will set SPI_GENERATE_DOCS=1 when building the documentation for the package.

I hope we can do the similar thing for swiftinit.

Kyle-Ye avatar Jul 03 '25 12:07 Kyle-Ye