-
Notifications
You must be signed in to change notification settings - Fork 0
README
This directory contains the source markdown files for the Rogue Signal Protocol GitHub wiki.
- Home.md - Wiki homepage and overview
- Gameplay-Mechanics.md - Core gameplay systems (manually maintained)
- Keybindings.md - Complete control reference (manually maintained)
- Development.md - Developer guide (manually maintained)
- Enemy-Database.md - Auto-generated from game_content.json
- Exploit-Database.md - Auto-generated from game_content.json
- Network-Configuration.md - Auto-generated from game_content.json
Some wiki pages are automatically generated from game JSON files to ensure they stay in sync with game data.
Wiki pages are automatically regenerated during the build process!
When you run build\build.bat alpha or build\build.bat release, the script:
- Runs
docs\generate_wiki.pyautomatically - Regenerates Enemy-Database.md, Exploit-Database.md, Network-Configuration.md
- Continues with the build even if wiki generation fails (with warning)
This ensures your wiki is always in sync with game data when creating releases.
You can also run the generator manually anytime:
python docs/generate_wiki.pyThis will regenerate:
- Enemy-Database.md
- Exploit-Database.md
- Network-Configuration.md
Run the generator manually when:
- Testing wiki changes without building
- Updating wiki during development
- Verifying wiki content before committing
Note: If you're building a release, you don't need to manually regenerate - it happens automatically!
Manual pages (Home, Gameplay-Mechanics, Keybindings, Development) should be edited directly and are NOT regenerated.
After updating wiki content (manually or via generation):
-
Navigate to parent directory:
cd .. -
If not already cloned, clone the wiki repo:
git clone https://github.com/Dragynrain/RogueSignalProtocol.wiki.git
-
Copy updated files:
cp RogueSignalProtocol/docs/wiki/*.md RogueSignalProtocol.wiki/ -
Commit and push:
cd RogueSignalProtocol.wiki git add . git commit -m "Update wiki content" git push
- Update game JSON files as needed
-
Run generator if JSON changed:
python docs/generate_wiki.py - Review changes in docs/wiki/
- Push to wiki following steps above
- Live Wiki: https://github.com/Dragynrain/RogueSignalProtocol/wiki
- Wiki Repo: https://github.com/Dragynrain/RogueSignalProtocol.wiki.git
These are overwritten each time the generator runs. Don't manually edit:
- Enemy-Database.md
- Exploit-Database.md
- Network-Configuration.md
Edit these directly as needed:
- Home.md - Update for new features or version changes
- Gameplay-Mechanics.md - Update when mechanics change
- Keybindings.md - Update when controls change
- Development.md - Update for new dev processes
The generator script is located at docs/generate_wiki.py and can be modified to:
- Add new auto-generated pages
- Change formatting or structure
- Pull from additional JSON files
- Add new sections or categories