Skip to content

chore: auto-discover *-api doc directories#2030

Merged
yury-s merged 2 commits into
microsoft:mainfrom
yury-s:fix-roll-android-mobile-api
May 7, 2026
Merged

chore: auto-discover *-api doc directories#2030
yury-s merged 2 commits into
microsoft:mainfrom
yury-s:fix-roll-android-mobile-api

Conversation

@yury-s
Copy link
Copy Markdown
Member

@yury-s yury-s commented May 7, 2026

Summary

  • Replace the hardcoded list (api, electron-api, mobile-api, test-api, test-reporter-api) with a glob over srcDir for api and *-api. New sibling dirs are picked up automatically.
  • Unblocks the v1.60 roll: docs(android): extract android docs into docs/src/mobile-api playwright#40644 moved the Android classes into docs/src/mobile-api/, which made [method: AndroidDevice.launchBrowser] references in release notes unresolvable for Roll Stable.

Mirrors the electron-api split: AndroidDevice, etc. were moved to
docs/src/mobile-api/ in microsoft/playwright#40644, which broke the
roll because release-notes link to AndroidDevice.launchBrowser.
Comment thread src/generator.js Outdated
Replace the hardcoded list (api, electron-api, mobile-api, test-api,
test-reporter-api) with a glob over srcDir for `api` and `*-api`. New
sibling directories like the recently-extracted mobile-api/ are picked
up automatically.
@yury-s yury-s changed the title chore: parse mobile-api docs (Android classes) chore: auto-discover *-api doc directories May 7, 2026
@yury-s yury-s merged commit 8bb2dbc into microsoft:main May 7, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants