Skip to content

Conversation

@SoundBlaster
Copy link
Owner

Two critical fixes for DocC on GitHub Pages:

  1. Add /documentation/ path fixing in JavaScript (was missing!) JavaScript was trying to load:

    • /documentation/newnav/data.json ❌ Instead of:
    • /NavigationSplitView/documentation/newnav/data.json ✅

    This caused "page not found" for tutorials and navigation.

  2. Add redirect from root to documentation/newnav/

    • Root index.html now redirects to actual docs entry point
    • Users opening /NavigationSplitView/ → /documentation/newnav/

All sed path fixes now complete:

  • HTML: baseUrl, script/link src, favicons
  • JS: /data/, /documentation/, /tutorials/, /index/

This should be the final fix for full DocC functionality on GitHub Pages!

Two critical fixes for DocC on GitHub Pages:

1. Add /documentation/ path fixing in JavaScript (was missing!)
   JavaScript was trying to load:
   - /documentation/newnav/data.json ❌
   Instead of:
   - /NavigationSplitView/documentation/newnav/data.json ✅

   This caused "page not found" for tutorials and navigation.

2. Add redirect from root to documentation/newnav/
   - Root index.html now redirects to actual docs entry point
   - Users opening /NavigationSplitView/ → /documentation/newnav/

All sed path fixes now complete:
- HTML: baseUrl, script/link src, favicons
- JS: /data/, /documentation/, /tutorials/, /index/

This should be the final fix for full DocC functionality on GitHub Pages!
@SoundBlaster SoundBlaster merged commit 26df339 into main Nov 11, 2025
4 checks passed
@SoundBlaster SoundBlaster deleted the claude/fix-docc-github-pages-urls-011CV2q14oULMheEHTbHVHsq branch November 11, 2025 23:59
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.

3 participants