-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add mjml authoring support. #11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
There was a problem hiding this comment.
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 MJML authoring support to the emailer-lib package and consolidates the documentation structure. Tags are programmatically generated from the official MJML specification rather than manually maintained.
Key changes:
- Added Python MJML authoring module with auto-generated tag functions
- Restructured project by moving reference docs from root to
docs/directory - Removed legacy
emailer-lib/subdirectory in favor of top-level package structure
Reviewed Changes
Copilot reviewed 45 out of 73 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Updated package configuration, moved dev dependencies, added test paths for MJML tests |
| emailer_lib/mjml/_core.py | Core MJML tag classes with rendering and HTML conversion functionality |
| emailer_lib/mjml/tags.py | Auto-generated MJML tag functions (1559 lines) |
| emailer_lib/mjml/scripts/generate_tags.py | Script to programmatically generate tag functions from MJML specification |
| emailer_lib/mjml/tests/test_*.py | Test suites for MJML core functionality and tag behavior |
| examples/*.py | Updated import paths from data_polars to docs.data_polars |
| docs/_quarto.yml | Added MJML authoring section with all MJML tags to documentation |
| Makefile | Added targets for building docs, running tests, and generating MJML tags |
| .github/workflows/ci.yml | Updated CI paths to reflect new project structure |
| reference/* | Removed old reference documentation files (now generated in docs/) |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This pull request makes several improvements to the project structure, documentation, and CI workflow.
Tags are generated programmatically from the list of tags found in the mjml docs