Skip to content

Convert DOC(X) to HTML, set up GitHub actions - #3

Merged
lemontree210 merged 21 commits into
masterfrom
feature/docx-html
Aug 20, 2025
Merged

Convert DOC(X) to HTML, set up GitHub actions#3
lemontree210 merged 21 commits into
masterfrom
feature/docx-html

Conversation

@lemontree210

@lemontree210 lemontree210 commented Aug 5, 2025

Copy link
Copy Markdown
Owner

This PR adds functionality to convert DOC(X) files to HTML format using the mammoth library, along with supporting infrastructure for CI/CD and development tooling.

  • Implements DOC(X) to HTML conversion with customizable style mapping
  • Adds comprehensive test coverage for the conversion functionality
  • Sets up GitHub Actions workflow, Codecov configuration, and Dependabot

@lemontree210 lemontree210 added the enhancement New feature or request label Aug 5, 2025
@lemontree210
lemontree210 requested a review from Copilot August 7, 2025 14:26
@lemontree210 lemontree210 self-assigned this Aug 7, 2025

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds functionality to convert DOC(X) files to HTML format using the mammoth library, along with supporting infrastructure for CI/CD and development tooling.

  • Implements DOC(X) to HTML conversion with customizable style mapping
  • Adds comprehensive test coverage for the conversion functionality
  • Sets up GitHub Actions workflow, Codecov configuration, and Dependabot

Reviewed Changes

Copilot reviewed 10 out of 13 changed files in this pull request and generated 4 comments.

Show a summary per file
File Description
tinybear/html/from_docx.py Main conversion module with functions to read and convert DOC(X) files to HTML
tinybear/_paths.py Path configuration module defining default input/output directories
tests/test_html_from_docx.py Comprehensive test suite for DOC(X) conversion functionality
tests/test_json_toml_yaml.py Import formatting cleanup
tests/test_helpers.py Removed unused pytest import
pyproject.toml Added mammoth dependency and updated dev tool versions
codecov.yml Codecov configuration for test coverage reporting
.pre-commit-config.yaml Updated mypy and ruff versions
.github/workflows/pytest.yml CI workflow for running tests and uploading coverage
.github/dependabot.yml Dependabot configuration for dependency updates

Comment thread tinybear/_paths.py Outdated
Comment thread tinybear/html/from_docx.py Outdated
Comment thread tinybear/html/from_docx.py Outdated
Comment thread tests/test_html_from_docx.py Outdated
@codecov-commenter

Copy link
Copy Markdown

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@lemontree210 lemontree210 changed the title Convert DOC(X) to HTML Convert DOC(X) to HTML, set up GitHub actions Aug 20, 2025
@lemontree210
lemontree210 marked this pull request as ready for review August 20, 2025 07:29
@lemontree210
lemontree210 merged commit f407e5a into master Aug 20, 2025
1 check passed
@lemontree210
lemontree210 deleted the feature/docx-html branch August 20, 2025 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants