SYMBOL INDEX (373 symbols across 137 files) FILE: docs/app/_components/i18n-demo.tsx constant LANGUAGES (line 9) | const LANGUAGES = [ FILE: docs/app/_meta.global.tsx constant FILE_CONVENTIONS (line 22) | const FILE_CONVENTIONS: MetaRecord = { constant GUIDE (line 58) | const GUIDE: MetaRecord = { constant ADVANCED (line 86) | const ADVANCED: MetaRecord = { constant BLOG_THEME (line 96) | const BLOG_THEME: MetaRecord = { FILE: docs/app/api/[name]/page.tsx type AllApiReference (line 9) | type AllApiReference = ApiReference & { filePath?: string } constant API_REFERENCE (line 11) | const API_REFERENCE: ( function getReference (line 76) | async function getReference(props: PageProps) { function generateMetadata (line 110) | async function generateMetadata(props: PageProps) { type PageProps (line 115) | type PageProps = Readonly<{ FILE: docs/app/docs/built-ins/[name]/page.tsx type ComponentApiReference (line 9) | type ComponentApiReference = ApiReference & { groupKeys?: string } constant API_REFERENCE (line 11) | const API_REFERENCE: ( function getReference (line 105) | async function getReference(props: PageProps) { function generateMetadata (line 164) | async function generateMetadata(props: PageProps) { type PageProps (line 169) | type PageProps = Readonly<{ FILE: docs/app/og/route.tsx function GET (line 12) | async function GET(req: Request): Promise { FILE: docs/components/_slider.tsx function hexToRgb (line 35) | function hexToRgb(hex: `#${string}`): string { FILE: docs/components/content-and-app-file-tree.tsx function mapChildren (line 8) | function mapChildren(children) { FILE: docs/components/generate-api-reference.ts type ApiReference (line 37) | interface ApiReference { type Options (line 44) | interface Options { function generateApiReference (line 51) | async function generateApiReference( FILE: docs/components/get-page-map.ts type PageMapVisitor (line 6) | type PageMapVisitor = (item: PageMapItem) => PageMapItem function visitPageMap (line 16) | function visitPageMap( function createMetaItem (line 32) | function createMetaItem(pageMap: typeof apiPageMap): MetaJsonFile { FILE: docs/components/inkeep-chat-button.tsx method isDarkMode (line 20) | isDarkMode(attrs) { FILE: docs/components/playground-demo.tsx constant DEFAULT_MDX (line 11) | const DEFAULT_MDX = `Playground component lets you write Nextra-compatib... FILE: docs/components/shadow.jsx class Shadow (line 7) | class Shadow extends Component { method componentDidMount (line 8) | componentDidMount() { method render (line 17) | render() { FILE: docs/mdx-components.tsx type TSDocProps (line 8) | type TSDocProps = ComponentProps type GenerateDefinitionArgs (line 9) | type GenerateDefinitionArgs = Parameters[0] type APIDocsProps (line 11) | interface APIDocsProps method APIDocs (line 27) | async APIDocs({ FILE: docs/next.config.ts function isExportNode (line 4) | function isExportNode(node, varName: string) { constant DEFAULT_PROPERTY_PROPS (line 16) | const DEFAULT_PROPERTY_PROPS = { function createAstObject (line 25) | function createAstObject(obj) { type NextraParams (line 37) | type NextraParams = Parameters[0] type MdxOptions (line 38) | type MdxOptions = NonNullable type RehypePlugin (line 39) | type RehypePlugin = NonNullable[0] method webpack (line 125) | webpack(config) { FILE: examples/blog/app/layout.jsx function RootLayout (line 10) | async function RootLayout({ children }) { FILE: examples/blog/app/posts/(with-comments)/layout.jsx function CommentsLayout (line 3) | function CommentsLayout({ children }) { FILE: examples/blog/app/posts/get-posts.js function getPosts (line 4) | async function getPosts() { function getTags (line 14) | async function getTags() { FILE: examples/blog/app/posts/page.jsx function PostsPage (line 9) | async function PostsPage() { FILE: examples/blog/app/rss.xml/route.js constant CONFIG (line 3) | const CONFIG = { function GET (line 10) | async function GET() { FILE: examples/blog/app/tags/[tag]/page.jsx function generateMetadata (line 4) | async function generateMetadata(props) { function generateStaticParams (line 11) | async function generateStaticParams() { function TagPage (line 16) | async function TagPage(props) { FILE: examples/blog/mdx-components.jsx function useMDXComponents (line 24) | function useMDXComponents(components) { FILE: examples/custom-theme/mdx-components.jsx method wrapper (line 5) | wrapper({ children, toc }) { FILE: examples/docs/src/app/blog/page.jsx function BlogPage (line 1) | function BlogPage() { FILE: examples/docs/src/app/docs/[[...mdxPath]]/page.jsx function generateMetadata (line 6) | async function generateMetadata(props) { function Page (line 14) | async function Page(props) { FILE: examples/docs/src/app/layout.jsx function RootLayout (line 27) | async function RootLayout({ children }) { FILE: examples/docs/src/app/page.jsx function IndexPage (line 1) | function IndexPage() { FILE: examples/docs/src/app/showcase/(overview)/page.jsx function Page (line 1) | function Page() { FILE: examples/swr-site/app/[lang]/[[...mdxPath]]/page.tsx function generateMetadata (line 7) | async function generateMetadata(props: PageProps) { type PageProps (line 13) | type PageProps = Readonly<{ FILE: examples/swr-site/app/[lang]/graphql-eslint/[[...slug]]/page.tsx type PageProps (line 51) | type PageProps = Readonly<{ function Page (line 57) | async function Page(props: PageProps) { function generateStaticParams (line 79) | function generateStaticParams() { FILE: examples/swr-site/app/[lang]/layout.tsx type LayoutProps (line 43) | type LayoutProps = Readonly<{ FILE: examples/swr-site/app/[lang]/remote/graphql-yoga/[[...slug]]/page.tsx type PageProps (line 70) | type PageProps = Readonly<{ function Page (line 76) | async function Page(props: PageProps) { function generateStaticParams (line 98) | function generateStaticParams() { FILE: examples/swr-site/app/_components/example-dynamic-markdown-import.tsx function ExampleDynamicMarkdownImport (line 6) | function ExampleDynamicMarkdownImport() { FILE: examples/swr-site/app/_dictionaries/get-dictionary.ts function getDictionary (line 12) | async function getDictionary(locale: string): Promise { function getDirection (line 19) | function getDirection(locale: string): 'ltr' | 'rtl' { FILE: examples/swr-site/app/_dictionaries/i18n-config.ts type Locale (line 8) | type Locale = (typeof i18n)['locales'][number] type Dictionary (line 10) | type Dictionary = typeof EnglishLocale type Dictionaries (line 12) | type Dictionaries = Record< FILE: examples/swr-site/app/manifest.ts function manifest (line 3) | function manifest(): MetadataRoute.Manifest { FILE: examples/swr-site/next.config.ts method webpack (line 28) | webpack(config) { FILE: packages/esbuild-react-compiler-plugin/src/index.ts constant DEFAULT_REACT_COMPILER_CONFIG (line 7) | const DEFAULT_REACT_COMPILER_CONFIG: Partial = { method sources (line 8) | sources(filename: string) { method logEvent (line 14) | logEvent(filename, result) { method setup (line 49) | setup(build) { FILE: packages/eslint-config/src/index.ts constant REACT_COMPILER_RESTRICT (line 32) | const REACT_COMPILER_RESTRICT = { FILE: packages/nextra-theme-blog/src/components/navbar.tsx type NavbarProps (line 6) | type NavbarProps = { FILE: packages/nextra-theme-blog/src/components/post-card.tsx type PostCardProps (line 5) | type PostCardProps = { FILE: packages/nextra-theme-blog/src/components/theme-switch.tsx function ThemeSwitch (line 8) | function ThemeSwitch() { FILE: packages/nextra-theme-blog/src/env.d.ts type Window (line 1) | interface Window { FILE: packages/nextra-theme-blog/src/is-valid-date.ts constant DATE_RE (line 3) | const DATE_RE = /^\d{4}-\d{2}-\d{2}(T\d{2}:\d{2})?(:\d{2}\.\d{3}Z)?$/ constant DATE_RE_WITH_SLASH (line 4) | const DATE_RE_WITH_SLASH = /^\d{4}\/\d{1,2}\/\d{1,2}( \d{1,2}:\d{1,2})?$/ FILE: packages/nextra-theme-blog/src/mdx-components.tsx constant CALLOUT_TYPE (line 44) | const CALLOUT_TYPE = Object.freeze({ type BlogMDXComponents (line 55) | type BlogMDXComponents = MDXComponents & { constant DEFAULT_COMPONENTS (line 59) | const DEFAULT_COMPONENTS = getNextraMDXComponents({ method wrapper (line 85) | wrapper({ children, metadata }) { FILE: packages/nextra-theme-blog/src/types.ts type BlogMetadata (line 4) | type BlogMetadata = { FILE: packages/nextra-theme-blog/tsup.config.ts method onSuccess (line 15) | async onSuccess() { FILE: packages/nextra-theme-docs/src/__tests__/layout-props.test-d.ts type Expected (line 8) | type Expected = z.input type Actual (line 9) | type Actual = LayoutProps FILE: packages/nextra-theme-docs/src/components/404/index.tsx type NotFoundPageProps (line 6) | type NotFoundPageProps = { FILE: packages/nextra-theme-docs/src/components/back-to-top.tsx constant SCROLL_TO_OPTIONS (line 6) | const SCROLL_TO_OPTIONS = { top: 0, behavior: 'smooth' } as const FILE: packages/nextra-theme-docs/src/components/copy-page.tsx function handleCopy (line 36) | function handleCopy() { FILE: packages/nextra-theme-docs/src/components/locale-switch.tsx constant ONE_YEAR (line 11) | const ONE_YEAR = 365 * 24 * 60 * 60 * 1000 type LocaleSwitchProps (line 13) | interface LocaleSwitchProps { FILE: packages/nextra-theme-docs/src/components/navbar/index.tsx type NavbarProps (line 10) | interface NavbarProps { FILE: packages/nextra-theme-docs/src/components/sidebar.tsx type FolderProps (line 61) | type FolderProps = { function updateTreeState (line 121) | function updateTreeState() { function updateAndPruneTreeState (line 127) | function updateAndPruneTreeState() { function getMenuChildren (line 187) | function getMenuChildren(menu: MenuItem) { type MenuProps (line 264) | interface MenuProps { FILE: packages/nextra-theme-docs/src/components/theme-switch.tsx type ThemeSwitchProps (line 11) | type ThemeSwitchProps = { FILE: packages/nextra-theme-docs/src/components/toc.tsx type TOCProps (line 12) | type TOCProps = { FILE: packages/nextra-theme-docs/src/layout.tsx type ThemeConfigProps (line 11) | type ThemeConfigProps = z.infer FILE: packages/nextra-theme-docs/src/mdx-components/index.tsx constant CALLOUT_TYPE (line 37) | const CALLOUT_TYPE = Object.freeze({ constant DEFAULT_COMPONENTS (line 45) | const DEFAULT_COMPONENTS = getNextraMDXComponents({ method wrapper (line 88) | wrapper({ toc, children, metadata, bottomContent, sourceCode, ...props }) { FILE: packages/nextra-theme-docs/src/stores/config.tsx type NormalizePagesResult (line 9) | type NormalizePagesResult = ReturnType function useConfig (line 22) | function useConfig(): { FILE: packages/nextra-theme-docs/src/types.generated.ts type LayoutProps (line 1) | interface LayoutProps { FILE: packages/nextra-theme-docs/src/utils/extract-only-strings-from-react-node.ts function extractStringsFromReactNode (line 3) | function extractStringsFromReactNode(node: ReactNode): string { FILE: packages/nextra-theme-docs/src/utils/get-git-issue-url.ts function getGitIssueUrl (line 5) | function getGitIssueUrl({ FILE: packages/nextra-theme-docs/src/utils/git-url-parse.ts function gitUrlParse (line 3) | function gitUrlParse(url: string) { FILE: packages/nextra-theme-docs/tsup.config.ts method onSuccess (line 17) | async onSuccess() { FILE: packages/nextra/src/client/__tests__/use-fs-route.test.ts function mockAndRenderHook (line 10) | function mockAndRenderHook(pathname: string) { FILE: packages/nextra/src/client/components/banner/index.tsx constant BANNER_CLASS_NAME (line 7) | const BANNER_CLASS_NAME = 'nextra-banner' type BannerProps (line 9) | type BannerProps = HTMLAttributes & { FILE: packages/nextra/src/client/components/button.tsx type ButtonProps (line 9) | type ButtonProps = HeadlessButtonProps & { FILE: packages/nextra/src/client/components/callout.tsx type CalloutType (line 19) | type CalloutType = keyof typeof TypeToEmoji type CalloutProps (line 49) | type CalloutProps = HTMLAttributes & { FILE: packages/nextra/src/client/components/file-tree/file.tsx type FileProps (line 5) | type FileProps = { FILE: packages/nextra/src/client/components/file-tree/folder.tsx type FolderProps (line 10) | type FolderProps = FileProps & { FILE: packages/nextra/src/client/components/head.tsx function convertColor (line 14) | function convertColor(v: z.infer) { function hexToRgb (line 18) | function hexToRgb(hex: string): string { constant RGB_RE (line 34) | const RGB_RE = /^rgb\((?.*?)\)$/ constant HEX_RE (line 35) | const HEX_RE = /^#(?[0-9a-f]{3,6})$/i function normalizeColor (line 37) | function normalizeColor(value: string): string { FILE: packages/nextra/src/client/components/image-zoom.tsx function getImageSrc (line 8) | function getImageSrc(src: ImageProps['src']): string { FILE: packages/nextra/src/client/components/playground.tsx type PlaygroundProps (line 9) | type PlaygroundProps = { function doCompile (line 83) | async function doCompile() { function importCompile (line 121) | function importCompile() { FILE: packages/nextra/src/client/components/popup/index.client.tsx function usePopup (line 11) | function usePopup(): boolean { FILE: packages/nextra/src/client/components/search.tsx function importPagefind (line 27) | async function importPagefind() { type PagefindResult (line 37) | type PagefindResult = { type InputProps (line 51) | type InputProps = Omit< type SearchProps (line 56) | interface SearchProps extends InputProps { constant INPUTS (line 116) | const INPUTS = new Set(['INPUT', 'SELECT', 'BUTTON', 'TEXTAREA']) constant DEV_SEARCH_NOTICE (line 118) | const DEV_SEARCH_NOTICE = ( function handleKeyDown (line 212) | function handleKeyDown(event: KeyboardEvent) { FILE: packages/nextra/src/client/components/select.tsx type MenuOption (line 15) | interface MenuOption { type MenuProps (line 20) | interface MenuProps { FILE: packages/nextra/src/client/components/skip-nav/index.client.tsx constant DEFAULT_ID (line 35) | const DEFAULT_ID = 'nextra-skip-nav' constant DEFAULT_LABEL (line 36) | const DEFAULT_LABEL = 'Skip to Content' FILE: packages/nextra/src/client/components/skip-nav/index.tsx constant DEFAULT_ID (line 3) | const DEFAULT_ID = 'nextra-skip-nav' FILE: packages/nextra/src/client/components/tabs/index.client.tsx type TabItem (line 21) | type TabItem = string | ReactElement type TabObjectItem (line 23) | type TabObjectItem = { function isTabObjectItem (line 28) | function isTabObjectItem(item: unknown): item is TabObjectItem { function fn (line 89) | function fn(event: StorageEvent) { FILE: packages/nextra/src/client/evaluate.ts type Scope (line 11) | type Scope = Record function evaluate (line 13) | function evaluate( FILE: packages/nextra/src/client/hocs/with-github-alert.tsx type BlockquoteType (line 6) | type BlockquoteType = FC> type T (line 7) | type T = (typeof GITHUB_ALERTS)[number] constant GITHUB_ALERT_RE (line 9) | const GITHUB_ALERT_RE = /^\s*\[!(?.*?)]\s*$/ constant GITHUB_ALERTS (line 11) | const GITHUB_ALERTS = [ constant GITHUB_ALERT_TYPES (line 19) | const GITHUB_ALERT_TYPES = new Set(GITHUB_ALERTS) function withGitHubAlert (line 21) | function withGitHubAlert( FILE: packages/nextra/src/client/hocs/with-icons.tsx function getIcon (line 27) | function getIcon(language: string) { function withIcons (line 83) | function withIcons( FILE: packages/nextra/src/client/hooks/use-copy.ts function useCopy (line 5) | function useCopy({ FILE: packages/nextra/src/client/hooks/use-fs-route.ts function useFSRoute (line 7) | function useFSRoute() { FILE: packages/nextra/src/client/hooks/use-hash.ts function useHash (line 8) | function useHash() { FILE: packages/nextra/src/client/hooks/use-mounted.ts function useMounted (line 8) | function useMounted(): boolean { FILE: packages/nextra/src/client/mdx-components.ts type StringComponent (line 9) | type StringComponent = Exclude type Component (line 14) | type Component = FC | StringComponent type NestedMDXComponents (line 16) | interface NestedMDXComponents { type MDXComponents (line 25) | type MDXComponents = NestedMDXComponents & { type DefaultMdxComponents (line 34) | type DefaultMdxComponents = { constant DEFAULT_COMPONENTS (line 48) | const DEFAULT_COMPONENTS = { type UseMDXComponents (line 57) | type UseMDXComponents< FILE: packages/nextra/src/client/mdx-components/anchor.tsx type NextLinkProps (line 7) | type NextLinkProps = ComponentPropsWithoutRef type Props (line 9) | type Props = Omit & { FILE: packages/nextra/src/client/mdx-components/details.tsx function findSummary (line 85) | function findSummary( FILE: packages/nextra/src/client/mdx-components/pre/index.tsx type PreProps (line 14) | type PreProps = HTMLAttributes & { FILE: packages/nextra/src/client/mdx-components/pre/toggle-word-wrap-button.tsx function toggleWordWrap (line 6) | function toggleWordWrap() { FILE: packages/nextra/src/client/mdx-remote.tsx type MDXRemoteProps (line 7) | type MDXRemoteProps = Readonly<{ FILE: packages/nextra/src/client/normalize-pages.ts constant DEFAULT_PAGE_THEME (line 8) | const DEFAULT_PAGE_THEME: PageTheme = { type PageTheme (line 22) | type PageTheme = NonNullable['theme']> type Display (line 23) | type Display = z.infer['display'] type IMenuItem (line 24) | type IMenuItem = z.infer type MetaType (line 25) | type MetaType = Record function extendMeta (line 27) | function extendMeta( type FolderWithoutChildren (line 45) | type FolderWithoutChildren = Omit type Item (line 47) | type Item = (MdxFile | FolderWithoutChildren) & { type PageItem (line 57) | type PageItem = (MdxFile | FolderWithoutChildren) & { type MenuItem (line 67) | type MenuItem = (MdxFile | FolderWithoutChildren) & type DocsItem (line 72) | type DocsItem = (MdxFile | FolderWithoutChildren) & { function findFirstRoute (line 80) | function findFirstRoute(items: DocsItem[]): string | undefined { type NormalizedResult (line 91) | type NormalizedResult = { function normalizePages (line 117) | function normalizePages({ FILE: packages/nextra/src/client/pages.ts function importPage (line 73) | async function importPage( function generateStaticParamsFor (line 130) | function generateStaticParamsFor( FILE: packages/nextra/src/client/remove-links.ts type TOCElement (line 7) | type TOCElement = ReactElement | string function hasProps (line 9) | function hasProps(node: ReactNode) { function removeLinks (line 13) | function removeLinks(node: ReactNode): TOCElement[] | string { FILE: packages/nextra/src/client/setup-page.tsx type WrapperProps (line 15) | type WrapperProps = ComponentProps function HOC_MDXWrapper (line 17) | function HOC_MDXWrapper( FILE: packages/nextra/src/server/__tests__/nextra-config.test-d.ts type Expected (line 9) | type Expected = { foo: string } type Actual (line 10) | type Actual = { foo: number } type Expected (line 15) | type Expected = { foo: { bar: string } } type Actual (line 16) | type Actual = { foo: { bar: number } } type Expected (line 21) | type Expected = { foo?: string } type Actual (line 22) | type Actual = { foo: string } type Expected (line 27) | type Expected = { foo?: string } type Actual (line 28) | type Actual = { foo: string | undefined } type Expected (line 33) | type Expected = z.input type Actual (line 34) | type Actual = NextraConfig type _Expected (line 38) | type _Expected = z.input type _Actual (line 39) | type _Actual = HeadProps FILE: packages/nextra/src/server/__tests__/remark-mdx-frontmatter.test.ts constant YAML_FRONTMATTER (line 5) | const YAML_FRONTMATTER = '---\nfoo: bar\n---' constant ESM_FRONTMATTER (line 6) | const ESM_FRONTMATTER = "export const metadata = { foo: 'bar' }" FILE: packages/nextra/src/server/__tests__/test-utils.ts type IsEqual (line 8) | type IsEqual = function clean (line 17) | async function clean(content: string): Promise { function getPageMapForFixture (line 29) | async function getPageMapForFixture(dirName: string) { FILE: packages/nextra/src/server/compile-metadata.ts function compileMetadata (line 19) | async function compileMetadata( FILE: packages/nextra/src/server/compile.ts type Processor (line 38) | type Processor = ReturnType type MdxOptions (line 45) | type MdxOptions = NextraConfig['mdxOptions'] & type CompileMdxOptions (line 48) | type CompileMdxOptions = Pick< function compileMdx (line 79) | async function compileMdx( FILE: packages/nextra/src/server/constants.ts constant MARKDOWN_EXTENSION_RE (line 7) | const MARKDOWN_EXTENSION_RE = /\.mdx?$/ constant CWD (line 9) | const CWD = process.cwd() constant MARKDOWN_URL_EXTENSION_RE (line 11) | const MARKDOWN_URL_EXTENSION_RE = /\.mdx?(?:(?=[#?])|$)/ constant IS_PRODUCTION (line 13) | const IS_PRODUCTION = process.env.NODE_ENV === 'production' constant EXTERNAL_URL_RE (line 15) | const EXTERNAL_URL_RE = /^https?:\/\// constant DEFAULT_PROPERTY_PROPS (line 17) | const DEFAULT_PROPERTY_PROPS = { constant METADATA_ONLY_RQ (line 25) | const METADATA_ONLY_RQ = '?metadata' FILE: packages/nextra/src/server/fetch-filepaths-from-github.ts type Params (line 4) | type Params = { function fetchFilePathsFromGitHub (line 12) | async function fetchFilePathsFromGitHub({ FILE: packages/nextra/src/server/index.ts constant MARKDOWN_EXTENSIONS (line 16) | const MARKDOWN_EXTENSIONS = ['md', 'mdx'] as const constant DEFAULT_EXTENSIONS (line 18) | const DEFAULT_EXTENSIONS = ['js', 'jsx', 'ts', 'tsx'] as const constant FILENAME (line 20) | const FILENAME = fileURLToPath(import.meta.url) constant LOADER_PATH (line 22) | const LOADER_PATH = path.join(FILENAME, '..', '..', '..', 'loader.cjs') constant SEP (line 24) | const SEP = path.sep === '/' ? '/' : '\\\\' constant GET_PAGE_MAP_PATH (line 26) | const GET_PAGE_MAP_PATH = '/nextra/dist/server/page-map/get.js' constant PAGE_MAP_PLACEHOLDER_PATH (line 28) | const PAGE_MAP_PLACEHOLDER_PATH = '/nextra/dist/server/page-map/placehol... constant GET_PAGE_MAP_RE (line 30) | const GET_PAGE_MAP_RE = new RegExp( constant PAGE_MAP_PLACEHOLDER_RE (line 33) | const PAGE_MAP_PLACEHOLDER_RE = new RegExp( constant CONTENT_DIR (line 36) | const CONTENT_DIR = getContentDirectory() function getContentDirectory (line 38) | function getContentDirectory() { method webpack (line 197) | webpack(config, options) { FILE: packages/nextra/src/server/loader.ts constant NOW (line 15) | const NOW = Date.now() constant APP_DIR (line 16) | const APP_DIR = findPagesDir(CWD).appDir! constant GIT_ROOT (line 49) | const GIT_ROOT = repository ? path.join(repository.path(), '..') : '' constant DEFAULT_TRANSFORMERS (line 51) | const DEFAULT_TRANSFORMERS = transformerTwoslash({ function loader (line 56) | async function loader( function replaceDynamicResourceQuery (line 172) | function replaceDynamicResourceQuery( function getLastCommitTime (line 194) | async function getLastCommitTime( FILE: packages/nextra/src/server/locales.ts constant HAS_LOCALE_RE (line 11) | const HAS_LOCALE_RE = new RegExp(String.raw`^\/(${locales.join('|')})(\/... constant COOKIE_NAME (line 13) | const COOKIE_NAME = 'NEXT_LOCALE' function getHeadersLocale (line 15) | function getHeadersLocale(request: NextRequest): string { function proxy (line 43) | function proxy(request: NextRequest) { FILE: packages/nextra/src/server/page-map/find-meta-and-page-file-paths.ts function findMetaAndPageFilePaths (line 5) | async function findMetaAndPageFilePaths({ FILE: packages/nextra/src/server/page-map/get.ts function importPageMap (line 3) | function importPageMap(lang = ''): Promise<{ function getPageMap (line 39) | async function getPageMap( function getRouteToFilepath (line 65) | async function getRouteToFilepath( FILE: packages/nextra/src/server/page-map/index-page.ts function renderCard (line 4) | function renderCard(item: MdxFile): string { function createIndexPage (line 11) | async function createIndexPage(pageMap: PageMapItem[]): Promise { function getIndexPageMap (line 44) | function getIndexPageMap(pageMap: PageMapItem[]) { FILE: packages/nextra/src/server/page-map/index.ts function getMetadata (line 9) | function getMetadata( FILE: packages/nextra/src/server/page-map/merge-meta-with-page-map.ts function isFolder (line 14) | function isFolder(value: DynamicMetaItem): value is DynamicFolder { function normalizeMetaRecord (line 24) | function normalizeMetaRecord( function mergeMetaWithPageMap (line 44) | function mergeMetaWithPageMap( FILE: packages/nextra/src/server/page-map/normalize.ts function normalizePageMap (line 12) | function normalizePageMap(pageMap: PageMapItem[] | Folder | TItem): any { type ParsedFolder (line 21) | type ParsedFolder = Folder & { function titlize (line 25) | function titlize(item: Folder | MdxFile, meta: MetaRecord): string { type MetaRecord (line 38) | type MetaRecord = Record> function sortFolder (line 40) | function sortFolder(pageMap: PageMapItem[] | Folder | TItem) { FILE: packages/nextra/src/server/page-map/to-ast.ts function cleanFilePath (line 7) | function cleanFilePath(filePath: string): string { function convertPageMapToAst (line 23) | function convertPageMapToAst( FILE: packages/nextra/src/server/page-map/to-js.ts constant META_RE (line 7) | const META_RE = /_meta\.[jt]sx?$/ function convertPageMapToJs (line 9) | function convertPageMapToJs({ FILE: packages/nextra/src/server/page-map/to-page-map.ts type NestedMap (line 5) | interface NestedMap { type StringMap (line 9) | type StringMap = Record function createNested (line 11) | function createNested(map: NestedMap, path: string): void { constant APP_DIR_SUFFIX_RE (line 20) | const APP_DIR_SUFFIX_RE = /^(src\/)?app\// function convertToPageMap (line 22) | function convertToPageMap({ FILE: packages/nextra/src/server/recma-plugins/recma-rewrite.ts type Mdx (line 10) | enum Mdx { constant HOC_IMPORT_AST (line 84) | const HOC_IMPORT_AST: ImportDeclaration = { function createHocCallAst (line 96) | function createHocCallAst(componentName: string): CallExpression { FILE: packages/nextra/src/server/rehype-plugins/rehype-better-react-mathjax.ts constant MATHJAX_IMPORTS (line 10) | const MATHJAX_IMPORTS = { function wrapInMathJaxContext (line 29) | function wrapInMathJaxContext( function wrapInBraces (line 69) | function wrapInBraces( FILE: packages/nextra/src/server/rehype-plugins/rehype-extract-toc-content.ts constant TOC_HEADING_RE (line 10) | const TOC_HEADING_RE = /^h[2-6]$/ function createComputedKey (line 120) | function createComputedKey( FILE: packages/nextra/src/server/rehype-plugins/rehype-twoslash-popup.ts constant TWOSLASH_POPUP_IMPORT_AST (line 7) | const TWOSLASH_POPUP_IMPORT_AST = { FILE: packages/nextra/src/server/rehype-plugins/rehype.ts type PreElement (line 8) | type PreElement = Element & { constant CODE_BLOCK_FILENAME_RE (line 14) | const CODE_BLOCK_FILENAME_RE = /filename="([^"]+)"/ constant DEFAULT_REHYPE_PRETTY_CODE_OPTIONS (line 16) | const DEFAULT_REHYPE_PRETTY_CODE_OPTIONS: RehypePrettyCodeOptions = { method onVisitLine (line 19) | onVisitLine(node) { method getHighlighter (line 35) | getHighlighter(opts) { FILE: packages/nextra/src/server/remark-plugins/remark-custom-heading-id.ts type HProperties (line 5) | type HProperties = { FILE: packages/nextra/src/server/remark-plugins/remark-link-rewrite.ts type RemarkLinkRewriteOptions (line 6) | type RemarkLinkRewriteOptions = { FILE: packages/nextra/src/server/remark-plugins/remark-mdx-frontmatter.ts function createNode (line 9) | function createNode(data: Record) { FILE: packages/nextra/src/server/remark-plugins/remark-mdx-title.ts function getFrontMatterASTObject (line 10) | function getFrontMatterASTObject(node: MdxjsEsmHast): Property[] { function isExportNode (line 15) | function isExportNode( FILE: packages/nextra/src/server/remark-plugins/remark-static-image.ts constant VALID_BLUR_EXT (line 13) | const VALID_BLUR_EXT = ['.jpeg', '.png', '.webp', '.avif', '.jpg'] constant VARIABLE_PREFIX (line 15) | const VARIABLE_PREFIX = '__img' FILE: packages/nextra/src/server/schemas.ts function transformTitle (line 297) | function transformTitle(title: T) { FILE: packages/nextra/src/server/tsdoc/base.ts constant DEFAULT_FILENAME (line 32) | const DEFAULT_FILENAME = '$.ts' function generateDefinition (line 69) | function generateDefinition({ function getCommentAndTags (line 179) | function getCommentAndTags(declaration: ExportedDeclarations): { function getDocEntry (line 201) | function getDocEntry({ function printType (line 267) | function printType(paramType: Type): string { function getTypeName (line 283) | function getTypeName({ function prexify (line 356) | function prexify(prefix: string, name: string): string { function shouldFlattenType (line 360) | function shouldFlattenType(t: Type): boolean { constant IGNORED_TYPES (line 384) | const IGNORED_TYPES = new Set([ function getTags (line 392) | function getTags(prop: TsSymbol): Tags { function getFormattedText (line 406) | function getFormattedText(t: Type): string { function replaceJsDocLinks (line 413) | function replaceJsDocLinks(md: string): string { FILE: packages/nextra/src/server/tsdoc/tsdoc.tsx type TSDocProps (line 13) | type TSDocProps = { function renderMarkdownDefault (line 54) | async function renderMarkdownDefault(description?: string): Promise type ReturnField (line 8) | type ReturnField = { type GeneratedDefinition (line 13) | type GeneratedDefinition = { type GeneratedFunction (line 32) | type GeneratedFunction = { type TypeField (line 41) | type TypeField = { type BaseArgs (line 54) | type BaseArgs = { FILE: packages/nextra/src/server/tsdoc/zod-to-ts.ts function generateTsFromZod (line 3) | function generateTsFromZod(schema: z.ZodType, indent = 2): string { function generateTsFromZodType (line 30) | function generateTsFromZodType(schema: z.ZodType, indent: number): string { function getDefaultValue (line 87) | function getDefaultValue(schema: z.ZodType): unknown { function getDocComment (line 99) | function getDocComment(schema: z.ZodType, indent: number): string { FILE: packages/nextra/src/server/twoslash.ts function renderMarkdown (line 15) | function renderMarkdown( function renderMarkdownInline (line 46) | function renderMarkdownInline( function twoslashRenderer (line 65) | function twoslashRenderer(options?: RendererRichOptions) { FILE: packages/nextra/src/server/utils.ts function pageTitleFromFilename (line 16) | function pageTitleFromFilename(fileName: string) { function createAstExportConst (line 22) | function createAstExportConst( function createAstObject (line 43) | function createAstObject( FILE: packages/nextra/src/types.generated.ts type NextraConfig (line 1) | interface NextraConfig { type HeadProps (line 138) | interface HeadProps { FILE: packages/nextra/src/types.ts type NextraConfigFromZod (line 15) | type NextraConfigFromZod = z.infer type LoaderOptions (line 17) | interface LoaderOptions extends NextraConfigFromZod { type TPageItem (line 24) | type TPageItem = { name: string; route: string; __pagePath: string } type TMetaItem (line 25) | type TMetaItem = { __metaPath: string } type TFolder (line 27) | interface TFolder { type TItem (line 33) | type TItem = TPageItem | TMetaItem | TFolder type Folder (line 35) | interface Folder { type Import (line 41) | type Import = { type MetaJsonFile (line 46) | type MetaJsonFile = { type DynamicFolder (line 52) | type DynamicFolder = { type DynamicMetaItem (line 57) | type DynamicMetaItem = Meta | DynamicFolder type DynamicMeta (line 59) | type DynamicMeta = Record type FrontMatter (line 61) | type FrontMatter = Record type Meta (line 62) | type Meta = string | Record type MdxFile (line 64) | type MdxFile = { type PageMapItem (line 70) | type PageMapItem = Folder | MdxFile | MetaJsonFile type Page (line 73) | type Page = (MdxFile | Folder) & { type Heading (line 77) | type Heading = { type $NextraMetadata (line 83) | type $NextraMetadata = Omit & { type ReadingTime (line 90) | type ReadingTime = { type MathJaxOptions (line 97) | type MathJaxOptions = z.infer type MDXWrapper (line 99) | type MDXWrapper = FC< type MetaRecord (line 106) | type MetaRecord = Record> type SeparatorItem (line 108) | type SeparatorItem = z.infer type MenuItem (line 109) | type MenuItem = z.infer type PagefindSearchOptions (line 115) | type PagefindSearchOptions = { type NextraMetadata (line 134) | type NextraMetadata = Metadata & { type EvaluateResult (line 139) | type EvaluateResult = { FILE: packages/nextra/tsup.config.ts constant SEP (line 10) | const SEP = path.sep === '/' ? '/' : '\\\\' method onSuccess (line 21) | async onSuccess() { method renderChunk (line 46) | renderChunk(code) { method renderChunk (line 61) | renderChunk(code) { FILE: packages/tsdoc/src/__tests__/fixtures/flattened.ts type EmptyInterface (line 4) | interface EmptyInterface {} class Class (line 6) | class Class { type $ (line 10) | type $ = { FILE: packages/tsdoc/src/__tests__/snapshots/head-props.ts type $$ (line 1) | interface $$ { FILE: packages/tsdoc/src/__tests__/snapshots/layout-props.ts type $ (line 1) | interface $ {