Skip to content

Chrome extension for side-by-side comparison of old and new documentation sites during migration, with built-in broken link detection.

License

Notifications You must be signed in to change notification settings

fern-api/docs-site-sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docs Site Sync

Chrome extension for side-by-side comparison of old and new documentation sites during migration, with built-in broken link detection.

Setup

  1. Open Chrome and go to chrome://extensions
  2. Enable "Developer mode"
  3. Click "Load unpacked" and select this directory
  4. Click the extension icon and configure:
    • Old Site URL (source of truth)
    • New Site URL
  5. Toggle "Sync" on

Usage

  • Navigate on the old site, and the new site will sync automatically in a side-by-side tab
  • The new site can redirect without affecting the old site
  • Use the Prev/Next buttons to step through pages from the sitemap

Features

  • One-way sync: Old site drives navigation, new site follows
  • Sitemap integration: Auto-detects sitemap for page-by-page navigation
  • Manual sitemap input: Enter custom sitemap URL if auto-detection fails
  • Persistent state: Settings saved across browser sessions

Link Checker

The extension includes a built-in broken link checker that automatically scans both sites:

  1. Toggle "Link Checker" on in the Features section
  2. The checker will automatically scan for broken links on both old and new sites whenever pages load
  3. Results are displayed separately for each site showing:
    • Valid links count
    • Broken links count
    • Skipped links count (mailto, tel, javascript, anchor links)
    • List of broken link URLs
  4. Click "Rescan Both Sites" to manually trigger a new scan

This is useful during migration to ensure the new site doesn't have any broken links that the old site doesn't have.

Note: Some links may be marked as valid even if they return errors due to CORS restrictions in browser extensions.

About

Chrome extension for side-by-side comparison of old and new documentation sites during migration, with built-in broken link detection.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •