Skip to content

Commit

Permalink
doc: mention adding YAML for APIs in PR contributing guide
Browse files Browse the repository at this point in the history
PR-URL: #35459
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Mary Marchini <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
  • Loading branch information
lundibundi authored and Trott committed Oct 4, 2020
1 parent cd226c0 commit db4e701
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion doc/guides/contributing/pull-requests.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,17 @@ Any documentation you write (including code comments and API documentation)
should follow the [Style Guide](../doc-style-guide.md). Code samples
included in the API docs will also be checked when running `make lint` (or
`vcbuild.bat lint` on Windows). If you are adding to or deprecating an API,
use `REPLACEME` for the version number in the documentation YAML.
add or change the appropriate YAML documentation. Use `REPLACEME` for the
version number in the documentation YAML:

```markdown
### `request.method`
<!-- YAML
added: REPLACEME
-->

* {string} The request method.
```

For contributing C++ code, you may want to look at the
[C++ Style Guide](../cpp-style-guide.md), as well as the
Expand Down

0 comments on commit db4e701

Please sign in to comment.