Skip to content

Commit

Permalink
V2: Fix stale links in documentation (#939)
Browse files Browse the repository at this point in the history
  • Loading branch information
timostamm authored Jul 22, 2024
1 parent 78e688a commit 45e1363
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions MANUAL.md
Original file line number Diff line number Diff line change
Expand Up @@ -1731,8 +1731,8 @@ The companion function `hasOption` returns true if an option is present. The fun

> [!TIP]
>
> Custom options can be read from generated code, or from the schema passed to a plugin. See the example in
> our [guide for writing plugins](#writing-plugins).
> Custom options can be read from generated code, from the schema passed to a [plugin](#writing-plugins), or from any
> other [descriptor](#descriptors).
>
> To learn more about custom options in Protobuf, see the [language guide][protobuf.dev/customoptions].
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,8 @@ From here, you can begin to work with your schema.

- [Manual](MANUAL.md) - Explains all aspects of using Protobuf with ECMAScript.
- [Code example](packages/protobuf-example) - Example code that uses Protobuf to manage a persistent list of users.
- [Plugin guide](packages/protoplugin-example) - Shows how to write your own plugin with `@bufbuild/protoplugin`.
- [Plugin example](packages/protoplugin-example) - Shows how to write a custom plugin to generate Twirp clients from
Protobuf service definitions.

## Packages

Expand Down
2 changes: 1 addition & 1 deletion packages/protoplugin-example/src/protoc-gen-twirp-es.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ interface PluginOptions {
logRequests: boolean;
}

// Our example plugin support the option "log_requests". We parse it here.
// Our example plugin supports the option "log_requests". We parse it here.
function parseOptions(
options: {
key: string;
Expand Down

0 comments on commit 45e1363

Please sign in to comment.