Files
Matt GodboltandClaude 6d68821ac2 Simplify control flow and remove unnecessary fallbacks in PTX docenizer
Improvements:
- Eliminate redundant conditionals for short_desc and text truncation
- Add helper function get_tooltip() to centralize tooltip text logic
- Remove all fallback paths that could hide documentation structure changes
- Replace generic exception catching with specific ValueError handling
- Add explicit filters to skip non-instruction sections (restrictions, mechanisms, etc.)
- Make parser fail loudly with clear error messages when structure doesn't match

The docenizer now:
- Raises clear errors instead of silently generating fallback documentation
- Logs warnings for sections that don't match expected structure
- Only includes actual PTX instructions, not documentation sections
- Has cleaner, more maintainable control flow

Result: More robust parser that will alert us to documentation changes
rather than silently producing incorrect output.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-26 10:27:34 -05:00
..
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-09-25 00:23:36 +03:00
2025-09-10 08:19:40 +02:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-07-28 10:34:46 -05:00
2025-02-25 13:05:50 -06:00
2025-02-26 10:56:26 -06:00
2025-07-28 10:34:46 -05:00