mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-03-27 13:28:32 +07:00
Fixed bug where incremental sync couldn't find files in docs.json because it was searching with extensions (.mdx) but docs.json stores paths without extensions. Changes: - Updated find_file_in_dropdown_structure() to strip extensions - Updated add_page_to_structure() to strip extensions - Updated remove_page_from_structure() to strip extensions - Added comprehensive implementation documentation This fixes the issue where files weren't added to cn/jp navigation. 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>