Added
- Comprehensive documentation for troubleshooting and error handling
- Advanced Table of Contents (TOC) documentation with examples and customization guidance
- Documentation for streaming large files, explaining the 10MB threshold implementation
- Improved API documentation with correct module references after refactoring
Changed
- Major refactoring to improve code organization and maintainability:
- Split monolithic converter.py into logical modules (html_parser.py, markdown_converter.py, xml_converter.py)
- Replaced complex placeholder system for code blocks with direct processing
- Reduced XML helper functions from 7+ to 3-4 clear functions
- Created reusable validation and error handling utilities
- Consolidated configuration into dedicated classes (WebdownConfig, DocumentOptions)
- Eliminated duplicate code in XML converter with new `_process_paragraphs()` helper function
- Improved test coverage to 100% across all application code
- Simplified streaming implementation with fixed 10MB threshold
- Updated configuration class documentation to reflect actual implementation
- Reorganized codebase following clean architecture principles
Fixed
- Documentation build after modular architecture refactoring
- Corrected API references in documentation
- Validation issues in error handling code
- Improved error reporting for various failure scenarios