Skip to content

Conversation

@kingsleydon
Copy link
Contributor

Summary

This PR removes the legacy parachain documentation from the root overview/ directory and updates all references in docs.json to point to the new consolidated structure under /network/.

Changes

🗑️ Deleted Files (18 total)

  • overview/phala-network.mdx
  • overview/pha-token/introduction.mdx
  • overview/pha-token/delegation/* (8 files)
  • overview/pha-token/governance/* (8 files)

📝 Updated docs.json

1. Removed Navigation Section

  • Removed "Legacy Parachain Documentation" section that contained all /overview/* paths

2. Updated Redirect Destinations (7 redirect rules updated + 7 new redirects added)

Main page redirects:

  • /overview/phala-network/network/overview/phala-network
  • /overview/pha-token/*/network/overview/phala-staking

Governance redirects:

  • /overview/pha-token/governance/overview/network/overview/phala-governance
  • /overview/pha-token/governance/khala-governance/network/overview/phala-governance
  • /overview/pha-token/governance/phala-governance/network/overview/phala-governance
  • /overview/pha-token/governance/khala-treasury/network/overview/phala-treasury
  • /overview/pha-token/governance/phala-treasury/network/overview/phala-treasury

Delegation/staking redirects:

  • /overview/pha-token/delegation/overview/network/overview/phala-staking
  • /overview/pha-token/introduction/network/overview/phala-staking
  • /developers/phat-contract/pay-for-cloud-service/network/overview/phala-staking
  • /tech-specs/pha-token/network/overview/phala-staking
  • /tech-specs/pha-token/:slug*/network/overview/phala-staking

Impact

Full consolidation: All Phala Network documentation is now exclusively under /network/*
Backward compatibility: All old /overview/* URLs redirect to appropriate new locations
No 404 errors: All legacy URLs have valid redirect targets
Cleaner structure: Removed duplicate/legacy content from the root directory

Testing

  • Validated docs.json is valid JSON
  • Verified all redirect destinations point to existing pages
  • Confirmed no broken links in navigation structure

🤖 Generated with Claude Code

kingsleydon and others added 2 commits November 21, 2025 00:13
This commit removes the legacy parachain documentation from the root
overview/ directory and updates all references in docs.json.

## Changes

### Deleted Files (18 total)
- overview/phala-network.mdx
- overview/pha-token/introduction.mdx
- overview/pha-token/delegation/* (8 files)
- overview/pha-token/governance/* (8 files)

### Updated docs.json
1. Removed "Legacy Parachain Documentation" navigation section
2. Updated all redirects pointing to /overview/* paths:
   - /overview/phala-network → /network/overview/phala-network
   - /overview/pha-token/* → /network/overview/phala-staking
   - /overview/pha-token/governance/* → /network/overview/phala-governance
   - /overview/pha-token/governance/*treasury → /network/overview/phala-treasury

3. Added comprehensive redirects for all deleted pages to ensure
   backward compatibility and prevent 404 errors

## Impact
- Fully consolidates all Phala Network documentation under /network/*
- All legacy parachain token delegation and governance pages now
  redirect to appropriate L2 equivalents
- Maintains backward compatibility with 7 new redirect rules

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Added 5 new redirects to cover all deleted overview pages:
- /overview → /network/overview/phala-network
- /overview/pha-token/delegation/delegate-to-stakepool → /network/overview/phala-staking
- /overview/pha-token/delegation/use-phala-app-to-delegate → /network/overview/phala-staking
- /overview/pha-token/delegation/whats-vault → /network/overview/phala-staking
- /overview/pha-token/governance/apply-for-project-funding → /network/overview/phala-treasury

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@kingsleydon kingsleydon merged commit 0012684 into main Nov 21, 2025
3 checks passed
@kingsleydon kingsleydon deleted the remove-root-overview-folder branch November 21, 2025 08:17
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