docs: Update CONTRIBUTING.md to clarify documentation requirements for exported types by zyfy29 · Pull Request #3693 · google/go-github

Pull Request Overview

This PR updates the CONTRIBUTING.md documentation to clarify that documentation requirements apply to both exported methods and types, not just methods. It adds an example showing how to properly document exported types following Go documentation conventions.

  • Expands documentation requirements from "exported methods" to "exported methods and types"
  • Adds a concrete example demonstrating proper type documentation format

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.