Skip to content

Conversation

@Kyle-Ye
Copy link
Collaborator

@Kyle-Ye Kyle-Ye commented Oct 5, 2025

Swift 5.9+ supports 'package' access level for cross-module APIs within a package. This commit updates build-documentation.sh to accept 'package' as a valid --minimum-access-level option.

Changes:

  • Add 'package' to validation case statement
  • Update usage documentation to include 'package'
  • Update error message to list 'package' as valid option

Fixes command: ./Scripts/build-documentation.sh --minimum-access-level package

Swift 5.9+ supports 'package' access level for cross-module APIs within
a package. This commit updates build-documentation.sh to accept 'package'
as a valid --minimum-access-level option.

Changes:
- Add 'package' to validation case statement
- Update usage documentation to include 'package'
- Update error message to list 'package' as valid option

Fixes command: ./Scripts/build-documentation.sh --minimum-access-level package
@Kyle-Ye Kyle-Ye force-pushed the fix/docc-package-access-level branch from 77a1cae to 304ad35 Compare October 5, 2025 17:40
@Kyle-Ye Kyle-Ye added the documentation Improvements or additions to documentation label Oct 5, 2025
@Kyle-Ye Kyle-Ye merged commit ebb0ebf into main Oct 5, 2025
5 of 8 checks passed
@Kyle-Ye Kyle-Ye deleted the fix/docc-package-access-level branch October 5, 2025 17:40
@codecov
Copy link

codecov bot commented Oct 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 24.67%. Comparing base (f0070a2) to head (304ad35).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #550      +/-   ##
==========================================
+ Coverage   24.65%   24.67%   +0.02%     
==========================================
  Files         505      505              
  Lines       29204    29204              
==========================================
+ Hits         7200     7206       +6     
+ Misses      22004    21998       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants