Commit 31f3c5b
issue: 4633470 fix generate_docs.py +update README
Fix bug in generate_docs.py where non-dict properties caused processing
failures. Add proper type checking and error handling to prevent crashes
when encountering unexpected property types in the JSON schema.
Changes in generate_docs.py:
- Add type check to skip non-dict properties
- Wrap property processing in try-catch block
- Add error reporting with property path context
Regenerate README documentation with the fixed script:
- Document memory size suffix support (B, KB, MB, GB) for memory params
- Simplify worker threads documentation for better clarity
- Fix inconsistent default value formatting
- Tidying spaces, indents
- Standardizing the mapping to legacy in the description.
This ensures robust documentation generation and provides users with
complete information about memory size formatting and threading options.
Signed-off-by: Tomer Cabouly <[email protected]>1 parent 5ce6148 commit 31f3c5b
File tree
4 files changed
+942
-495
lines changed- src/core
- config/descriptor_providers
- util
4 files changed
+942
-495
lines changed
0 commit comments