Skip to content
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

feat: add serializers, text formatting, update Markdown export #182

Merged
merged 15 commits into from
Mar 13, 2025

Conversation

vagenas
Copy link
Collaborator

@vagenas vagenas commented Mar 3, 2025

No description provided.

Copy link

mergify bot commented Mar 3, 2025

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?(!)?:

🟢 Require two reviewer for test updates

Wonderful, this rule succeeded.

When test data is updated, we require two reviewers

  • #approved-reviews-by >= 2

PeterStaar-IBM
PeterStaar-IBM previously approved these changes Mar 3, 2025
@vagenas vagenas changed the title feat: add text formatting incl. Markdown export support feat: add serializers, text formatting, update Markdown export Mar 13, 2025
vagenas added 2 commits March 13, 2025 17:20
Signed-off-by: Panos Vagenas <[email protected]>
@vagenas vagenas marked this pull request as ready for review March 13, 2025 16:32
from_element: int = 0,
to_element: int = sys.maxsize,
labels: set[DocItemLabel] = DEFAULT_EXPORT_LABELS,
labels: set[DocItemLabel] = DOCUMENT_TOKENS_EXPORT_LABELS,
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Changed this, as otherwise the new logic would literally filter out any non-listed labels from showing up, i.e. we would see no captions at all in the output.

Copy link
Contributor

@dolfim-ibm dolfim-ibm left a comment

Choose a reason for hiding this comment

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

Well done!

@vagenas vagenas merged commit a7cdc87 into main Mar 13, 2025
8 checks passed
@vagenas vagenas deleted the add-formatting branch March 13, 2025 16:54
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.

3 participants