Skip to content

Conversation

@m-hulbert
Copy link
Contributor

@m-hulbert m-hulbert commented Feb 5, 2026

Description

This PR adds a component for styling method signatures in API references.

It can take an unwrapped string, as long as that string doesn't contain special characters such as < - in that case then you can wrap it as an expression in a template literal.

Everything is stripped and replaced as just a code wrapped string (``) for the raw markdown.

You can test on this temporary page: https://ably-docs-dx-598-method-vhhuoj.herokuapp.com/docs/chat/api/chat-client

Checklist

@m-hulbert m-hulbert self-assigned this Feb 5, 2026
@m-hulbert m-hulbert added the review-app Create a Heroku review app label Feb 5, 2026
@coderabbitai
Copy link

coderabbitai bot commented Feb 5, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dx-598-method-signature

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@ably-ci ably-ci had a problem deploying to ably-docs-dx-598-method-vhhuoj February 5, 2026 12:35 Failure
@m-hulbert m-hulbert temporarily deployed to ably-docs-dx-598-method-vhhuoj February 5, 2026 13:03 Inactive
Copy link
Contributor

@aralovelace aralovelace left a comment

Choose a reason for hiding this comment

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

the implementation if very well structured

@m-hulbert m-hulbert force-pushed the dx-598-method-signature branch from 7e656dc to 9ef09c2 Compare February 9, 2026 09:29
@m-hulbert m-hulbert temporarily deployed to ably-docs-dx-598-method-vhhuoj February 9, 2026 09:29 Inactive
@m-hulbert m-hulbert merged commit 9663a0f into main Feb 9, 2026
7 checks passed
@m-hulbert m-hulbert deleted the dx-598-method-signature branch February 9, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-app Create a Heroku review app

Development

Successfully merging this pull request may close these issues.

4 participants