Skip to content

Fix: Update all internal links from GitBook to GitHub Pages#1

Open
mariogomezlozada wants to merge 14 commits into
mainfrom
fix/update-internal-links
Open

Fix: Update all internal links from GitBook to GitHub Pages#1
mariogomezlozada wants to merge 14 commits into
mainfrom
fix/update-internal-links

Conversation

@mariogomezlozada

Copy link
Copy Markdown

Summary

Replaces all references to old support.power.trade GitBook URL with correct links to the new GitHub Pages site. Also cleans up GitBook-specific terminology throughout migration docs.

Changes

  • README.md: Replaced old GitBook URL (https://support.power.trade/) with new GitHub Pages URL; updated description to remove GitBook mention
  • FINAL_SUMMARY.md: Cleaned up 3 GitBook-specific references (title, structure description, cost line)
  • MIGRATION_STATUS.md: Cleaned up 4 GitBook-specific references (title, categories, commit message, cost line)

Audit Results

  • 97 total files scanned across all types (md, html, yaml, json, css, js, ts)
  • 1 link to old GitBook URL found and fixed (README.md line 39)
  • 0 broken mailto linkssupport@power.trade is the valid support email
  • 0 broken internal doc links — all relative links between docs are correct
  • 7 GitBook text references cleaned up across 3 migration-related files
  • All external links (app.power.trade, t.me/power_trade, power.trade) verified as legitimate

No content links were broken — the repo is in good shape.

Jenkins (PowerTrade) added 13 commits April 2, 2026 13:17
- Pixel-perfect dark theme matching GitBook layout
- 3-column layout: left nav, main content, right TOC
- All 22 doc pages embedded with SPA navigation
- Search modal (Ctrl+K), external link tooltips
- Code blocks with syntax highlighting
- Previous/Next navigation on all pages
- Responsive design, zero build dependencies
- Replaced 17 stub pages ('Content coming soon') with full real content
- Added 3 new pages: Options Introduction, Options Contract Specs, API Authentication
- Fixed sidebar nav to match GitBook: expandable Options section with sub-items
- Reordered Trading section: Options > Perpetuals > Futures > Spot > Margin > xStocks
- Added proper TOC entries for all pages (right sidebar)
- Updated prev/next navigation flow for new pages
- All content sourced from comprehensive-docs branch and main branch .md files
Complete options coverage for all PowerTrade-supported tokens:
- 6 major tokens with DEGEN options: BTC, ETH, SOL, XRP, DOGE, BNB
- 107 additional tokens: AAVE, ACT, ADA, AERO, AEVO, AI16Z, ALGO,
  API3, APT, AR, ARB, ATH, ATOM, AVAX, AXL, AXS, BAT, BCH, BLUR,
  BOME, BONK, CELO, CHZ, COMP, CRV, DOT, DYDX, EIGEN, ENA, ENJ,
  ENS, EOS, ETC, FARTCOIN, FET, FIL, FLOKI, FLOW, GALA, GMT, GOAT,
  GRIFFAIN, GRT, HBAR, HYPE, ICP, IMX, INJ, JUP, KAS, KAVA, LDO,
  LINK, LTC, MANA, MASA, MELANIA, MEW, MINA, MKR, MNT, MOG, MORPHO,
  NEAR, NEIRO, ONDO, ONE, OP, ORDI, PAXG, PENDLE, PENGU, PEPE, PNUT,
  POL, POPCAT, PUMP, PYTH, RNDR, RUNE, SAND, SEI, SHIB, SNX, SPX,
  STRK, STX, SUI, SUSHI, TAIKO, TAO, TIA, TON, TRB, TRUMP, TRX, UNI,
  VINE, VIRTUAL, W, WIF, WLD, XLM, YFI, ZEREBRO, ZIL, ZRO

Each page includes:
- Token-specific description and market context
- Contract specifications table (expirations, min size, settlement)
- DEGEN options section (for BTC/ETH/SOL/XRP/DOGE/BNB)
- RFQ & liquidity access info
- Category-specific strategy examples
- Technical analysis & market sentiment
- Getting started guide with direct trading links
- Prev/Next navigation chain through all pages
- Right-sidebar TOC entries

Also adds:
- Sidebar navigation for all 113 tokens under Options Trading
- Table CSS styling for contract specification tables
- Auto-expand sidebar when navigating to any options sub-page
…r.trade

- All 182 pages scraped and embedded with exact content
- Full navigation structure matching GitBook hierarchy
- Sections: How to Use (32 pages), Trading (117 pages), API (2), Polaris/PowerDEX (10), PTF Token (7), Careers (2), Legal (11)
- Search functionality with Cmd+K shortcut
- Mobile responsive sidebar
- GitBook CDN image URLs preserved
- Dark theme matching PowerTrade branding
…converted to navigateTo()

- Added green left border to active nav items for visual clarity
- Converted all 153 internal .md href links to navigateTo() onclick calls
- Fixed 3 broken GitHub reference links (Security Tips, API, fund account)
- Fixed xStocks revision link to proper internal navigation
- Added global click interceptor for any remaining internal <a> tags
- Sidebar already had correct nav-parent/nav-children/nav-toggle structure
- expandParents() auto-expands parent groups when navigating to sub-pages
Copilot AI review requested due to automatic review settings April 10, 2026 04:08
- Replace 'Powered by GitBook' footer text with 'Powered by PowerTrade'
- Fix sidebar footer link from gitbook.com to power.trade
- Fix broken support-site-gitbook reference in search index
- Remove index.html.bak backup file
- All support.power.trade URLs already replaced (previous commit)
- 85 gitbook.io image CDN URLs intentionally kept (serving actual images)
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.

1 participant