All languages covered

This commit is contained in:
Patrice Chalin 2020-06-11 09:25:53 -04:00
parent 857a295683
commit 24f1af3017
16 changed files with 40 additions and 19 deletions

View File

@ -6,4 +6,4 @@ These language-specific pages are available:
- [Quick start](quickstart)
- [Basics tutorial](basics)
- [API reference](api)
- [API reference](api/grpc-java/javadoc)

View File

@ -7,6 +7,4 @@ These language-specific pages are available:
- [Quick start](quickstart)
- [Basics tutorial](basics)
- [Asynchronous-API tutorial](async)
- API reference:
- [gRPC C++](https://grpc.github.io/grpc/cpp)
- [gRPC core](https://grpc.github.io/grpc/core)
- [API reference](api)

View File

@ -0,0 +1,6 @@
---
title: API reference
short: API
weight: 90
# Note: this is a placeholder page. The URL to this page redirects elsewhere.
---

View File

@ -1,5 +1,7 @@
---
title: Asynchronous-API Tutorial
short: Async-API Tutorial
weight: 60
---
This tutorial shows you how to write a simple server and client in C++ using

View File

@ -7,8 +7,7 @@ core-library][core-library] implementation is covered here:
- [Quick start](quickstart)
- [Basics tutorial](basics)
- [API reference](api?path=/api/Grpc.Core)
- [API reference](api)
- [API reference](api/api/Grpc.Core)
For details concerning the newer gRPC for .NET implementation, see [gRPC for
.NET](dotnet).

View File

@ -8,7 +8,7 @@ The following pages cover the C# implementation of gRPC for .NET
- [Introduction to gRPC on .NET Core](https://docs.microsoft.com/aspnet/core/grpc)
- [Tutorial: Create a gRPC client and server in ASP.NET Core][tutorial]
- [API reference](api)
- [API reference](../api/grpc/csharp-dotnet/api/Grpc.Core)
Several sample applications are available from the [examples][] folder in the
[grpc-dotnet][] repository.

View File

@ -6,4 +6,4 @@ These language-specific pages are available:
- [Quick start](quickstart)
- [Basics tutorial](basics)
- [API reference](https://pub.dev/documentation/grpc)
- [API reference](api/pub.dev/documentation/grpc?ext=1)

View File

@ -0,0 +1,6 @@
---
title: API reference
short: API
weight: 90
# Note: this is a placeholder page. The URL to this page redirects elsewhere.
---

View File

@ -7,4 +7,4 @@ These language-specific pages are available:
- [Quick start](quickstart)
- [Basics tutorial](basics)
- [Generated-code reference](generated-code)
- [API reference](https://godoc.org/google.golang.org/grpc)
- [API reference](api/pkg.go.dev/google.golang.org/grpc?ext=1)

View File

@ -0,0 +1,6 @@
---
title: API reference
short: API
weight: 90
# Note: this is a placeholder page. The URL to this page redirects elsewhere.
---

View File

@ -1,6 +1,7 @@
---
title: Go Generated-code Reference
short: Generated Code
weight: 80
---
This page describes the code generated with the [grpc plugin](https://godoc.org/github.com/golang/protobuf/protoc-gen-go/grpc) to `protoc-gen-go`

View File

@ -7,4 +7,4 @@ These language-specific pages are available:
- [Quick start](quickstart)
- [Basics tutorial](basics)
- [Generated-code reference](generated-code)
- [API reference](https://grpc.github.io/grpc-java/javadoc)
- [API reference](api/grpc-java/javadoc)

View File

@ -1,6 +1,7 @@
---
title: Java Generated-code Reference
short: Generated Code
weight: 80
---
## Packages

View File

@ -7,4 +7,4 @@ These language-specific pages are available:
- [Quick start](quickstart)
- [Basics tutorial](basics)
- [OAuth2 tutorial](oauth2)
- [API reference](api?lang=objc)
- [API reference](api/grpc/objc)

View File

@ -1,4 +1,4 @@
{{ $isExternal := or (hasPrefix .Destination "http") (findRE "^(/docs/languages/.+?/)?api(/.*)?(\\?.*)?$" .Destination) -}}
{{ $isExternal := or (hasPrefix .Destination "http") (findRE "^(|../|/docs/languages/.+?/)api(/.*)?(\\?.*)?$" .Destination) -}}
<a href="{{ .Destination | safeURL }}"
{{- with .Title }} title="{{ . }}"{{ end -}}
{{- if $isExternal }} target="_blank" rel="noopener"{{ end -}}

View File

@ -19,11 +19,13 @@
# API reference docs
# /docs/languages/android/api https://grpc.github.io/grpc-java/javadoc 301!
# /docs/languages/csharp/dotnet/api https://grpc.github.io/grpc/csharp-dotnet/api/Grpc.Core 301!
# /docs/languages/csharp/api https://grpc.github.io/grpc/csharp/api/Grpc.Core 301!
# API docs hosted on an external site (other than grpc.github.io)
# (We can't encode the path as a param because Netlify escapes path separators.)
/docs/languages/:_/api/* ext=:_ https://:splat 301!
/docs/languages/:lang/api/* ext=:ext https://:splat 301!
/docs/languages/:lang/api/* sep=:sep https://grpc.github.io/grpc:sep:lang/:splat 301!
/docs/languages/:notUsed/api/* lang=:lang https://grpc.github.io/grpc/:lang/:splat 301! # objc
/docs/languages/:lang/api/* https://grpc.github.io/grpc/:lang/:splat 301!
# API hosted on grpc.github.io using path indicated by splat
/docs/languages/:_/api/grpc/* https://grpc.github.io/grpc/:splat
/docs/languages/:_/api/grpc-* https://grpc.github.io/grpc-:splat
# Base rule: API hosted on grpc.github.io
/docs/languages/:lang/api/* https://grpc.github.io/grpc/:lang/:splat 301!