- Fixed empty caption handling in XML parameter extraction
- Generated detailed startup parameters for all games from XML configs
- All games now have complete troubleshooting sections
- All navigation anchors working properly
- 149 games successfully processed with full documentation
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
Escape all parameter keys, captions, descriptions, option values, and defaults before inserting into HTML to prevent XSS vulnerabilities from XML configuration data.
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
- Fix option text handling to check for None instead of falsy
- Improve HTML cleaning with html.unescape and better tag removal
- Fix multi-line string in die() function
- Add html module import for proper HTML entity handling
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
Move start script, service setup, and troubleshooting sections outside the conditional block to ensure they appear in all generated documentation regardless of whether detailed XML startup params exist.
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
- Add comprehensive headers to deploy_gsp.sh and push_to_github.sh
- Make scripts configurable via environment variables
- Update push_to_github.sh to support GITHUB_TOKEN env var
- Enhance generate_game_docs.py with:
* Command-line argument support (--games, --force, --todo-only)
* Extraction of detailed startup parameters from XML
* Prevention of overwriting existing files unless --force is used
* Comprehensive parameter documentation with options and defaults
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
- Replace generic port descriptions with specific port tables
- Add comprehensive port information for 51 games including:
- Arma series with all ports (game, query, RCON, VON)
- Source engine games (game, query, RCON, SourceTV)
- Popular games like Rust, Minecraft, ARK, Valheim
- Voice servers (TeamSpeak, Mumble, Ventrilo)
- Each port table shows port number, protocol, and purpose
- Matches TF2 documentation format as reference
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
- Replace generic "Varies (see configuration)" with actual default ports
- Add specific port numbers for 41 game servers (Arma series: 2302, Source games: 27015, etc.)
- Update configuration file paths from XML definitions
- Properly escape backslashes in Windows paths for HTML display
Games updated include: Arma2/3, TF2, CS:GO, ETS2, Rust, Minecraft, and many more
Co-authored-by: iaretechnician <2749183+iaretechnician@users.noreply.github.com>
This script automates the process of syncing a local panel directory with a GitHub repository, including handling authentication, branch management, and pull request creation.