Home
last modified time | relevance | path

Searched refs:isReferencePath (Results 1 – 6 of 6) sorted by relevance

/expo/docs/common/
H A Droutes.test.ts1 import { isReferencePath } from '~/common/routes';
3 describe(isReferencePath, () => {
5 expect(isReferencePath('/versions/unversioned')).toBe(true);
9 expect(isReferencePath('/versions/latest/sdk/notifications')).toBe(true);
13 expect(isReferencePath('/versions/v44.0.0/react-native/stylesheet/')).toBe(true);
17 expect(isReferencePath('/build-reference/how-tos/')).toBe(false);
H A Droutes.ts10 if (isReferencePath(path)) {
25 export const isReferencePath = (path: string) => { constant
50 if (isReferencePath(path)) {
/expo/docs/ui/components/Sidebar/
H A DVersionSelector.tsx9 import { isReferencePath } from '~/common/routes';
38 if (!hasVersion && (!router?.pathname || !isReferencePath(router.pathname))) {
/expo/docs/ui/components/CommandMenu/Items/
H A DExpoDocsItem.tsx14 isReferencePath,
45 } else if (isReferencePath(url)) {
58 if (isReferencePath(url)) {
/expo/docs/components/
H A DDocumentationPage.tsx45 if (RoutesUtils.isReferencePath(path)) {
124 content={RoutesUtils.isReferencePath(pathname) ? version : 'none'}
/expo/docs/ui/components/CommandMenu/
H A Dutils.ts109 export const isReferencePath = (url: string) => { constant