This document explains the wiki migration that has been prepared for the Q2RTXPerimental repository. All changes have been committed locally and are ready to be pushed to the GitHub wiki.
The existing GitHub wiki had two pages:
Home.md- Basic project introductionDocumentation.md- Feature documentation
These have been preserved as:
Old-Wiki-Home.mdOld-Wiki-Documentation.md
All 33 markdown files from the /wiki/ directory have been copied to the wiki repository:
Vanilla-Game-Module-Architecture.md- Client-server separation and DLL interfaceVanilla-Entity-System.md- Entity system basicsVanilla-BSP-Format.md- Map structure and entity placementVanilla-Networking.md- Networking fundamentalsVanilla-Physics.md- Physics and movementVanilla-Weapons.md- Weapon system implementationVanilla-AI.md- AI and pathfinding basics
Architecture-Overview.md- High-level system designServer-Game-Module.md- Server-side game logic (svgame)Client-Game-Module.md- Client-side prediction and rendering (clgame)Shared-Game-Module.md- Shared code between client and server
Entity-System-Overview.md- Entity architecture overviewEntity-Base-Class-Reference.md- svg_base_edict_t complete referenceCreating-Custom-Entities.md- Step-by-step tutorial with examplesEntity-Lifecycle.md- Entity spawn, think, and lifecycleEntity-Networking.md- Entity synchronization to clientsEntity-Save-Load.md- Persistence and serialization
Temp-Entity-Overview.md- What temp entities are and when to use themTemp-Entity-Event-Types.md- Complete event type referenceUsing-Temp-Entities.md- How to spawn temp entitiesCustom-Temp-Entities.md- Adding new temp entity types
Signal-IO-System.md- Entity communication systemUseTargets-System.md- Interactive entity systemGame-Modes.md- Custom game mode developmentLua-Scripting.md- Lua integrationSkeletal-Animation.md- SKM animation system
API-Entity-Types.md- Entity type constantsAPI-Entity-Flags.md- Entity flag referenceAPI-Entity-Events.md- Entity event systemAPI-Spawn-Flags.md- Map editor spawn flagsAPI-Means-Of-Death.md- Damage type constants
Home.md- Updated main wiki page with comprehensive navigationGetting-Started.md- Build instructions and development setupREADME.md- Documentation structure overview
Created a comprehensive sidebar navigation organized into categories:
- Main (Home, Getting Started)
- Vanilla Quake 2 (7 pages)
- Architecture (4 pages)
- Entity System (6 pages)
- Temp Entities (4 pages)
- Advanced Topics (5 pages)
- API Reference (5 pages)
- Old Wiki (2 backup pages)
Added footer with:
- Links to GitHub repository
- Discord community links
- Version information reference
- All wiki content backed up
- All 33 new pages copied and ready
- Navigation sidebar created
- Footer created
- All changes committed to local git repository at
/home/runner/work/Q2RTXPerimental/wiki-repo
- Push changes to GitHub wiki repository (requires authentication)
You have three options to complete the push:
./push-wiki-migration.shThis script will:
- Verify all changes are ready
- Show a summary of what will be pushed
- Attempt to push to the GitHub wiki
- Provide troubleshooting steps if authentication fails
cd /home/runner/work/Q2RTXPerimental/wiki-repo
git status
git log origin/master..master # Review commits
git push origin masterIf authentication is problematic, you can:
- Clone the wiki repository in a separate location:
git clone https://github.com/PolyhedronStudio/Q2RTXPerimental.wiki.git my-wiki- Copy all markdown files:
cp /home/runner/work/Q2RTXPerimental/wiki-repo/*.md my-wiki/- Commit and push:
cd my-wiki
git add -A
git commit -m "Migrate comprehensive documentation from /wiki/ directory"
git push origin masterAfter pushing, visit your wiki to verify:
You should see:
- ✅ New comprehensive Home page with navigation
- ✅ Sidebar navigation on the left with all categories
- ✅ All 33 new documentation pages accessible
- ✅ Old wiki content preserved in Old-Wiki-* pages
- ✅ Footer with links on every page
If you encounter authentication errors:
-
Using HTTPS: Configure credentials
git config --global credential.helper store git push origin master # Enter your GitHub username and personal access token -
Using GitHub CLI:
gh auth login # Follow the prompts to authenticate cd /home/runner/work/Q2RTXPerimental/wiki-repo git push origin master
-
Using SSH: Add SSH key and update remote
cd /home/runner/work/Q2RTXPerimental/wiki-repo git remote set-url origin git@github.com:PolyhedronStudio/Q2RTXPerimental.wiki.git git push origin master
If the push says "Everything up-to-date", the migration may have already completed. Check your wiki on GitHub.
If someone else edited the wiki during migration:
cd /home/runner/work/Q2RTXPerimental/wiki-repo
git pull origin master
# Resolve any conflicts
git push origin masterwiki-repo/
├── _Sidebar.md # Navigation menu
├── _Footer.md # Footer with links
├── Home.md # Main wiki page (updated)
├── Getting-Started.md # Build and setup guide
├── README.md # Documentation overview
├── Old-Wiki-Home.md # Backup of original Home
├── Old-Wiki-Documentation.md # Backup of original Documentation
│
├── Vanilla-*.md # 7 Vanilla Quake 2 pages
├── Architecture-Overview.md # Architecture pages
├── Client-Game-Module.md
├── Server-Game-Module.md
├── Shared-Game-Module.md
│
├── Entity-*.md # 6 Entity system pages
├── Creating-Custom-Entities.md
│
├── Temp-Entity-*.md # 4 Temp entity pages
├── Using-Temp-Entities.md
├── Custom-Temp-Entities.md
│
├── Signal-IO-System.md # Advanced topics
├── UseTargets-System.md
├── Game-Modes.md
├── Lua-Scripting.md
├── Skeletal-Animation.md
│
└── API-*.md # 5 API reference pages
The wiki migration is ready to push with:
- 38 files total (33 new pages + 2 backups + 3 meta files)
- 20,864+ lines of documentation added
- Fully organized navigation structure
- Old content preserved for reference
Run ./push-wiki-migration.sh to complete the migration!