Skip to content

Split html layout for kindle from web-one#289

Merged
ptabor merged 10 commits into
mainfrom
20251101-html5-real
Nov 10, 2025
Merged

Split html layout for kindle from web-one#289
ptabor merged 10 commits into
mainfrom
20251101-html5-real

Conversation

@ptabor

@ptabor ptabor commented Nov 2, 2025

Copy link
Copy Markdown
  • refactor: separate song conversion logic into modular components
  • refactor: rename create_songs_html.py to standard_html_converter
  • Better layout.
  • Songs in a new format generated.

ptabor added 10 commits November 1, 2025 17:23
- Create abstract SongConverter interface to allow multiple HTML generation strategies
- Move shared utility functions to song_utils.py
- Refactor StandardHtmlConverter to implement SongConverter interface
- Add proper package structure with __init__.py
- Fix imports to use absolute paths

This change enables better separation of concerns and allows for alternative
HTML generation implementations (e.g. Kindle-specific format) while maintaining
shared utility functions.
- Move StandardHtmlConverter to dedicated file
- Update imports to reflect new file name
- Prepare for separation of HTML generation strategies
@ptabor ptabor merged commit 45ed85c into main Nov 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant