(page: Page)
| 461 | } |
| 462 | |
| 463 | export function getPageTitle(page: Page): string { |
| 464 | return page.exports?.title ?? page.tableOfContents?.[0]?.title ?? page.name; |
| 465 | } |
| 466 | |
| 467 | /** |
| 468 | * Gets the search section for a page, preferring `searchSection` over `section`. |
no outgoing calls
no test coverage detected