SIGN IN SIGN UP

Provide package cache to aldoc when building reference documentation (#2301)

aldoc build was invoked with only --source, so it fell back to its
default package cache ({source}/.alpackages) which does not exist for
artifact-based apps. As a result every reference to another module was
reported as 'Referenced module not loaded' and the corresponding links
in the generated documentation were left unresolved.

Populate a package cache with all apps and their dependencies (the
latter were already downloaded and computed by CalculateProjectsAndApps
but never used) and pass it to aldoc via --packagecache so cross-module
references resolve.

Fixes #2302 

### ✅ Checklist

- [x] Add tests (E2E, unit tests)
- [x] Update RELEASENOTES.md
- [ ] Update documentation (e.g. for new settings or scenarios)
- [ ] Add telemetry

<!-- Include more checklist entries, if needed -->

---------

Co-authored-by: spetersenms <spetersenms@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
S
spetersenms committed
6d8c1411a196b9118788638e58bd831c27b4f1d6
Parent: 96c4a38
Committed by GitHub <noreply@github.com> on 7/17/2026, 11:52:15 AM