Remove root overview/ directory and consolidate all docs under network/#128
Merged
kingsleydon merged 2 commits intomainfrom Nov 21, 2025
Merged
Remove root overview/ directory and consolidate all docs under network/#128kingsleydon merged 2 commits intomainfrom
kingsleydon merged 2 commits intomainfrom
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR removes the legacy parachain documentation from the root
overview/directory and updates all references indocs.jsonto point to the new consolidated structure under/network/.Changes
🗑️ Deleted Files (18 total)
overview/phala-network.mdxoverview/pha-token/introduction.mdxoverview/pha-token/delegation/*(8 files)overview/pha-token/governance/*(8 files)📝 Updated docs.json
1. Removed Navigation Section
/overview/*paths2. 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-stakingGovernance 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-treasuryDelegation/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-stakingImpact
✅ 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
🤖 Generated with Claude Code