Skip to content

Conversation

CleanCut
Copy link
Contributor

@CleanCut CleanCut commented Jul 30, 2025

Replaces #12

Here's what the twirp rustdoc page looks like:

image

Here's what the twirp-build rustdoc page looks like:

image

@CleanCut CleanCut requested a review from jorendorff July 30, 2025 23:13
@CleanCut CleanCut requested a review from a team as a code owner July 30, 2025 23:13
@Copilot Copilot AI review requested due to automatic review settings July 30, 2025 23:13
Copy link
Contributor

@Copilot Copilot AI left a 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 includes the README documentation in the rustdoc output for both twirp and twirp-build crates, and updates code block formatting in the README to prevent rustdoc test failures while maintaining syntax highlighting.

  • Adds #![doc = include_str!(...)] attributes to include README content in rustdoc
  • Updates README code blocks from rust to rust ,ignore to prevent test execution
  • Adds explanatory comments about the code block syntax choices

Reviewed Changes

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

File Description
crates/twirp/src/lib.rs Includes the crate's README in rustdoc output
crates/twirp-build/src/lib.rs Includes the twirp README in rustdoc output
crates/twirp/README.md Updates code blocks to use rust ,ignore syntax with explanatory comments

@CleanCut CleanCut added this pull request to the merge queue Jul 31, 2025
Merged via the queue into main with commit f247323 Jul 31, 2025
5 checks passed
@CleanCut CleanCut deleted the include-readme branch July 31, 2025 15:12
@github-actions github-actions bot mentioned this pull request Jul 31, 2025
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