Generate comprehensive documentation for all 149 games
- 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>
This commit is contained in:
parent
3e2fd5d620
commit
ce70cc1256
142 changed files with 14317 additions and 2432 deletions
BIN
tools/__pycache__/generate_game_docs.cpython-312.pyc
Normal file
BIN
tools/__pycache__/generate_game_docs.cpython-312.pyc
Normal file
Binary file not shown.
|
|
@ -185,8 +185,9 @@ class GameDocGenerator:
|
|||
desc_elem = param.find('desc')
|
||||
default_elem = param.find('default')
|
||||
|
||||
caption = caption_elem.text if caption_elem is not None else param_key
|
||||
description = desc_elem.text if desc_elem is not None else "No description available"
|
||||
# Handle empty captions by falling back to param_key
|
||||
caption = caption_elem.text if (caption_elem is not None and caption_elem.text) else param_key
|
||||
description = desc_elem.text if (desc_elem is not None and desc_elem.text) else "No description available"
|
||||
default_value = default_elem.text if default_elem is not None else None
|
||||
|
||||
# For select type, get options
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue