RevenueCat / purchases-ios

In-app purchases and subscriptions made easy. Support for iOS, watchOS, tvOS, macOS, and visionOS.
https://www.revenuecat.com/
MIT License
2.2k stars 294 forks source link

CI Build Docs Improvements #4014

Closed fire-at-will closed 2 days ago

fire-at-will commented 2 days ago

Motivation

The doc building process can be fragile at times, and since we only build the docs when we make a deployment, we can be unaware when changes in individual PRs can break our docs' build. This PR aims to make changes that break the docs building process visible earlier in the development cycle to help avoid tricky failures during deployments.

Description

This PR makes two main changes to how docs are built in the CI process:

Testing

I've been able to test the docs-build job in this PR, but haven't been able to fully test the generate_and_publish_docs job since we haven't executed another deployment since 5.0.0. If anyone has any ideas to test generate_and_publish_docs, let me know! 😄