Skip to content

fix: preserve qdocco block comments as code - #46

Merged
tiye merged 5 commits into
feat/qbench-schema-versionfrom
fix/qdocco-block-comment-code
Aug 23, 2026
Merged

fix: preserve qdocco block comments as code#46
tiye merged 5 commits into
feat/qbench-schema-versionfrom
fix/qdocco-block-comment-code

Conversation

@tiye

@tiye tiye commented Aug 22, 2026

Copy link
Copy Markdown
Member

Summary

  • add RFC 0104 for qdocco prose/code marker boundaries
  • preserve ### ... ### CoffeeScript block comments in generated code
  • add HTML and Markdown regression coverage

Validation

  • make check
  • git diff --check

This PR is stacked on PR #45 and should remain unmerged with the rest of the chain.

Copilot AI lite review requested due to automatic review settings August 22, 2026 15:37

Copilot AI left a comment

Copy link
Copy Markdown

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 updates qdocco to preserve CoffeeScript block comments in generated HTML/Markdown code, with regression tests and RFC documentation.

Changes:

  • Adds RFC 0104 and updates project references.
  • Adds HTML and Markdown regression coverage.
  • Updates prose/code classification.

The multiline block-comment handling remains unresolved: qdocco must track block-comment state across render passes for both HTML and Markdown.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
tests/cli_tools.rs Adds block-comment regression tests.
src/bin/qdocco.rs Adjusts prose/code classification; multiline state handling requires changes.
RFCs/0104-qdocco-block-comments.md Documents block-comment boundary behavior.
RFCs/0000-project-scope.md Registers RFC 0104.
README.md Links the latest RFC.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/bin/qdocco.rs
@tiye
tiye merged commit c45a03c into feat/qbench-schema-version Aug 23, 2026
2 checks passed
@tiye
tiye deleted the fix/qdocco-block-comment-code branch August 23, 2026 04:12
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.

2 participants