Back to all reviewers

Example documentation standards

aws/aws-sdk-js
Based on 2 comments
Ruby

Organize API documentation examples for maximum clarity and usefulness. Place hand-written examples before generated examples since they're typically more valuable to users. When using @example tags, include only the descriptive title without redundant 'Example:' prefixes.

Documentation Ruby

Reviewer Prompt

Organize API documentation examples for maximum clarity and usefulness. Place hand-written examples before generated examples since they’re typically more valuable to users. When using @example tags, include only the descriptive title without redundant ‘Example:’ prefixes.

For instance:

# Good
@example Custom implementation
  # Hand-written example here
@example Calling the operation
  # Generated example here

# Avoid
@example Example: Custom implementation
  # Example here

This approach improves readability and maintains consistent documentation style.

2
Comments Analyzed
Ruby
Primary Language
Documentation
Category

Source Discussions