fix(crosslinks): fetchAlbumItems·openPDFViewer 페이지 추가 + getPermission strict false-positive 수정#124
Merged
Merged
Conversation
… strict false-positive 수정 (#123) (A) docs/api/camera/fetchAlbumItems.mdx 신규 (ko/en) — CameraPage.tsx의 fetchAlbumItems ApiCard에 대응하는 docs 페이지 없음 문제 해소. camera 개요 메서드 표·sidebars.ts에 알파벳순 추가. (B) docs/api/navigation/openPDFViewer.mdx 신규 (ko/en) — NavigationPage.tsx의 openPDFViewer ApiCard에 대응하는 docs 페이지 없음 문제 해소. navigation 개요 메서드 표·sidebars.ts에 알파벳순 추가. (C) scripts/verify-crosslinks.ts: PREFIX_SKIP_LIST에 getCurrentLocation 추가. name="getCurrentLocation.getPermission" 카드는 명시적 docsLink가 있어 heuristic leaf getPermission이 미문서 메서드로 오보고되던 false-positive 수정. CI verify-crosslinks 스텝을 --strict 로 상향. pnpm verify:crosslinks --strict 로컬 통과 확인. pnpm typecheck·lint·build 모두 clean. Closes #123
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
요약
이 PR은 issue #123의 세 가지 docs↔sdk-example crosslink 갭을 닫습니다.
(A)
docs/api/camera/fetchAlbumItems.mdx신규 (ko/en) —CameraPage.tsx에name="fetchAlbumItems"ApiCard가 있지만 대응 docs 페이지가 없었음. ko/en 양쪽 생성, camera 개요 메서드 표 및sidebars.ts에 알파벳순 추가.(B)
docs/api/navigation/openPDFViewer.mdx신규 (ko/en) —NavigationPage.tsx에name="openPDFViewer"ApiCard가 있지만 대응 docs 페이지가 없었음. ko/en 양쪽 생성, navigation 개요 메서드 표 및sidebars.ts에 알파벳순 추가.(C)
scripts/verify-crosslinks.ts스크립트 버그 수정 —name="getCurrentLocation.getPermission"카드에는 명시적docsLink('location', 'getCurrentLocation')이 있어 기존getCurrentLocation.mdx로 올바르게 연결된다. 그러나NAME_PATTERN이 leafgetPermission을 추출해 미문서 메서드로 잘못 보고했음.PREFIX_SKIP_LIST에getCurrentLocation을 추가해 false-positive 수정.docsLinkregex는 독립적으로getCurrentLocation을 올바르게 emit하므로 커버리지 손실 없음.검증
pnpm verify:crosslinks --strict→ exit 0 (18개 네임스페이스 전부 all match)pnpm typecheck→ cleanpnpm lint→ cleanpnpm build→ ko/en 양쪽 SUCCESSverify-crosslinks스텝을--strict로 상향 (이 PR이 clean한 후 적용)api-camera-fetchAlbumItems.png,api-navigation-openPDFViewer.png) 생성·커밋,pnpm check:og-images통과static/llms.txt재생성·커밋,pnpm check:llms통과Closes #123