The Swift Package Index logo.Swift Package Index

Do you maintain a package with DocC-compatible documentation? Let us build and host your docs! 📚

Information for SwiftGraphics Maintainers

Are you the author, or a maintainer of SwiftGraphics? Here's what you need to know to make your package's page on the Swift Package Index, and your README both show the best information about your package.

Compatibility Badges

You can add shields.io badges to your package's README file. Display your package's compatibility with recent versions of Swift, or with different platforms, or both!

Swift Version Compatibility Badge
Swift Version Compatibility for SwiftGraphics
Platform Compatibility Badge
Platform Compatibility for SwiftGraphics

Copy the Markdown above into your package's README file to show always-up-to-date compatibility status for your package.

Manifest File

You can control more aspects of how the Swift Package Index treats your package repository, including improving build compatibility results and opting into automated DocC documentation hosting.

As the Swift Package Index scans your package repository, it will look for a manifest file named .spi.yml. If found, here are some of the things you can control or enable with it:

See the SPIManifest package documentation for more details.