Skip to content

Commit 4f733b4

Browse files
authored
Use absolute paths instead of absolute URLs (#1268)
When you specify grpc.io in a URL, it is considered a separate site and gets the "linking away" anchor behavior, with the icon and opening in a new tab. Also, such links don't work properly when running locally or using the PR deploy preview. In metadata.md, the concepts guide moved locations (see layouts/index.redirects), so let's inline that redirect.
1 parent d9bbae5 commit 4f733b4

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

content/en/docs/guides/cancellation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: >-
88

99
When a gRPC client is no longer interested in the result of an RPC call, it may
1010
_cancel_ to signal this discontinuation of interest to the server.
11-
[Deadline](https://grpc.io/docs/guides/deadlines/) expiration and I/O errors
11+
[Deadline](/docs/guides/deadlines/) expiration and I/O errors
1212
also trigger cancellation. When an RPC is cancelled, the server should stop
1313
any ongoing computation and end its side of the stream. Often, servers are also
1414
clients to upstream servers, so that cancellation operation should ideally

content/en/docs/guides/custom-backend-metrics.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,5 @@ For more details, please see gRPC [proposal A51].
6666
[ORCA]: https://github.com/cncf/xds/blob/main/xds/data/orca/v3/orca_load_report.proto
6767
[Java example]: https://github.com/grpc/grpc-java/tree/master/examples/example-orca
6868
[Go example]: https://github.com/grpc/grpc-go/tree/master/examples/features/orca
69-
[custom load balancing guide]: https://grpc.io/docs/guides/custom-load-balancing/
69+
[custom load balancing guide]: /docs/guides/custom-load-balancing/
7070
[custom load balancer]: https://github.com/grpc/proposal/blob/master/A52-xds-custom-lb-policies.md

content/en/docs/guides/metadata.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ gRPC metadata is useful for a variety of purposes, such as:
4242
* **Internal usages**: gRPC uses HTTP/2 headers and trailers, which will be
4343
integrated with the metadata specified by your application.
4444

45-
See [Concepts guide](https://grpc.io/docs/guides/concepts.html#metadata)
45+
See [Core Concepts](/docs/what-is-grpc/core-concepts/#metadata)
4646

4747
#### Be Aware
4848

content/en/docs/guides/service-config.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ The below example does the following:
119119
```
120120

121121
[protobuf definition]:https://github.com/grpc/grpc-proto/blob/master/grpc/service_config/service_config.proto
122-
[timeout]:https://grpc.io/docs/guides/deadlines/
122+
[timeout]:/docs/guides/deadlines/
123123
[Retry]:https://grpc.io/docs/guides/retry/
124-
[health checking]:https://grpc.io/docs/guides/health-checking/
125-
[Hedging]:https://grpc.io/docs/guides/request-hedging/
126-
[wait-for-ready]:https://grpc.io/docs/guides/wait-for-ready/
124+
[health checking]:/docs/guides/health-checking/
125+
[Hedging]:/docs/guides/request-hedging/
126+
[wait-for-ready]:/docs/guides/wait-for-ready/
127127
[name resolution mechanism]:https://github.com/grpc/grpc/blob/master/doc/naming.md
128128
[stored as TXT records]:https://github.com/grpc/proposal/blob/master/A2-service-configs-in-dns.md
129129

0 commit comments

Comments
 (0)