Skip to content

Conversation

@YusukeHirao
Copy link
Member

Summary

  • Add pageList config option to customize the page list used for navigation and breadcrumbs
  • Rename allPages to pageAssetFiles in GlobalData for clarity
  • Add safe option to getTitle for error handling when page content is not found
  • Update breadcrumbs to use pageList with optional title support
  • Add documentation for the new pageList option

Changes

  • config.pageList: Optional function to filter/transform pages with custom titles
  • GlobalData.pageAssetFiles: Raw page files from file system
  • GlobalData.pageList: Processed page list with titles (from user-defined or auto-extracted)
  • getTitle(page, optimizeTitle, safe): New safe option returns empty string on error

Test plan

  • Lint check passed
  • Build check passed
  • All tests passed (51 tests)

@YusukeHirao YusukeHirao merged commit 5547928 into main Jan 7, 2026
1 check passed
@YusukeHirao YusukeHirao deleted the feat/page-list-option branch January 7, 2026 14:41
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