Skip to content

Commit

Permalink
docs: Fix broken navigation
Browse files Browse the repository at this point in the history
Fixes b/375428438
  • Loading branch information
amanda-tarafa committed Oct 25, 2024
1 parent c6df9a8 commit 874efcc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/devsite-help/grpc-streaming.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Note that this page does not cover client-streaming, as we do not currently
publish any libraries with client-streaming RPCs. A new section will be added
if and when we publish such a library.

# Server-streaming RPCs
## Server-streaming RPCs

A server-streaming RPC starts with a single request, and then the server
sends responses over time, which are read asynchronously. The server indicates
Expand Down Expand Up @@ -53,7 +53,7 @@ as those are API-specific and unrelated to stream usage.

[!code-cs[](../examples/help.Streaming.txt#ServerStreaming)]

# Bidirectional-streaming RPCs
## Bidirectional-streaming RPCs

A bidirectional-streaming RPC is started without a client-side request, as clients
can send requests as and when they wish to. Similarly, the server provides a stream
Expand Down
8 changes: 4 additions & 4 deletions docs/devsite-help/protobuf.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ data transfer objects which happen to have well-defined binary and JSON
formats. The sections below provide more information in areas which have
previously caused some confusion.

# Repeated fields and map fields
## Repeated fields and map fields

The generated C# code for protobuf messages makes simple properties
read/write, but repeated fields and map fields are read-only. That
Expand Down Expand Up @@ -93,7 +93,7 @@ Or modify it after other initialization steps:

[!code-cs[](../examples/help.Protobuf.txt#ProtoMap3)]

# JSON parsing and formatting
## JSON parsing and formatting

Protobuf messages have a JSON format as well as the natural binary wire format.
The Google.Protobuf library makes it easy to parse JSON into messages using
Expand All @@ -112,7 +112,7 @@ Sample parsing code:

[!code-cs[](../examples/help.Protobuf.txt#JsonParsing)]

# Value and Struct
## Value and Struct

Some APIs use the *well-known types* of `google.protobuf.Value`
and `google.protobuf.Struct` which are represented by the .NET types
Expand All @@ -139,4 +139,4 @@ can be handled by converting to JSON and back:

(Note that these assume the JSON representation of the message is a
JSON object; that's the case for all "normal messages", but some
well-known types such as `Duration` have simple string representations in JSON.)
well-known types such as `Duration` have simple string representations in JSON.)

0 comments on commit 874efcc

Please sign in to comment.