Skip to content

Merge orphaned PR #6#8

Merged
frederikbeimgraben merged 3 commits into
mainfrom
feat/frontmatter-block-scalars
Jun 3, 2026
Merged

Merge orphaned PR #6#8
frederikbeimgraben merged 3 commits into
mainfrom
feat/frontmatter-block-scalars

Conversation

@frederikbeimgraben
Copy link
Copy Markdown
Owner

No description provided.

Frederik Beimgraben and others added 3 commits June 3, 2026 23:48
pytex_protocol was a thin layer on top of pytex_markdown, and its generic
frontmatter parser was already used by every Markdown variant (not just
protocols). Fold the two into one module:

- Promote the generic YAML frontmatter parser to
  pytex_markdown.frontmatter (re-exported from pytex_markdown), since it
  is general Markdown infrastructure, not protocol-specific.
- Move the meeting-protocol rendering (convert, document, entries,
  header, shortcodes, signatures) under pytex_markdown.protocol, a
  subpackage of the base it extends.
- Keep pytex_protocol as a deprecation shim that re-exports the public
  API from the new locations (emits DeprecationWarning).
- Point internal imports (pytex_builder.variants, conftest, tests) at the
  canonical new paths.

No behaviour change. Full suite passes; ruff + mypy --strict clean. Shim
tests assert the legacy import paths still resolve to the new objects.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
basedpyright (reportImplicitStringConcatenation) fails CI on adjacent
string literals; use explicit + to match the repo convention.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…-into-markdown

refactor: merge pytex_protocol into pytex_markdown
@frederikbeimgraben frederikbeimgraben merged commit 1603306 into main Jun 3, 2026
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