diff --git a/.cspell.json b/.cspell.json index c26133f..9b672e2 100644 --- a/.cspell.json +++ b/.cspell.json @@ -1,7 +1,6 @@ { "version": "0.1", "language": "en", - // Workspace dictionary: "words": [ "backends", "Bazel", @@ -11,7 +10,10 @@ "deallocate", "deserialization", "Dockerfiles", + "Docsy", + "favicons", "flatbuffers", + "getenv", "Gmail", "gradlew", "Istio", @@ -20,6 +22,7 @@ "microservice", "microservices", "multicore", + "opengraph", "performant", "pluggable", "printf", diff --git a/content/en/docs/languages/cpp/alts.md b/content/en/docs/languages/cpp/alts.md index 2fc5ad0..95fe02d 100644 --- a/content/en/docs/languages/cpp/alts.md +++ b/content/en/docs/languages/cpp/alts.md @@ -1,5 +1,5 @@ --- -title: ALTS authentication in C++ +title: ALTS authentication short_title: ALTS description: > An overview of gRPC authentication in C++ using Application Layer Transport diff --git a/content/en/docs/languages/go/alts.md b/content/en/docs/languages/go/alts.md index d240079..85e28e8 100644 --- a/content/en/docs/languages/go/alts.md +++ b/content/en/docs/languages/go/alts.md @@ -1,5 +1,5 @@ --- -title: ALTS authentication in Go +title: ALTS authentication short_title: ALTS description: > An overview of gRPC authentication in Go using Application Layer Transport diff --git a/content/en/docs/languages/go/generated-code.md b/content/en/docs/languages/go/generated-code.md index 3f6d671..59c3b54 100644 --- a/content/en/docs/languages/go/generated-code.md +++ b/content/en/docs/languages/go/generated-code.md @@ -1,5 +1,5 @@ --- -title: Go Generated-code reference +title: Generated-code reference short_title: Generated code weight: 95 --- diff --git a/content/en/docs/languages/java/alts.md b/content/en/docs/languages/java/alts.md index 481b7b8..4230e7b 100644 --- a/content/en/docs/languages/java/alts.md +++ b/content/en/docs/languages/java/alts.md @@ -1,5 +1,5 @@ --- -title: ALTS authentication in Java +title: ALTS authentication short_title: ALTS description: > An overview of gRPC authentication in Java using Application Layer Transport diff --git a/content/en/docs/languages/java/generated-code.md b/content/en/docs/languages/java/generated-code.md index e089f1a..2a1bfc1 100644 --- a/content/en/docs/languages/java/generated-code.md +++ b/content/en/docs/languages/java/generated-code.md @@ -1,5 +1,5 @@ --- -title: Java generated-code reference +title: Generated-code reference short_title: Generated code weight: 95 spelling: cSpell:ignore buildscript classpath grpcexample motd srcs xolstice diff --git a/content/en/docs/languages/python/alts.md b/content/en/docs/languages/python/alts.md index 119329d..c01b384 100644 --- a/content/en/docs/languages/python/alts.md +++ b/content/en/docs/languages/python/alts.md @@ -1,5 +1,5 @@ --- -title: ALTS authentication in Python +title: ALTS authentication short_title: ALTS description: > An overview of gRPC authentication in Python using Application Layer Transport diff --git a/content/en/docs/languages/python/generated-code.md b/content/en/docs/languages/python/generated-code.md index 24157eb..b6cdc6b 100644 --- a/content/en/docs/languages/python/generated-code.md +++ b/content/en/docs/languages/python/generated-code.md @@ -1,12 +1,10 @@ --- -title: Python Generated-code reference +title: Generated-code reference short_title: Generated code weight: 80 spelling: cSpell:ignore docstrings --- -## Introduction - gRPC Python relies on the protocol buffers compiler (`protoc`) to generate code. It uses a plugin to supplement the generated code by plain `protoc` with gRPC-specific code. For a `.proto` service description containing diff --git a/content/en/docs/platforms/android/kotlin/quickstart.md b/content/en/docs/platforms/android/kotlin/quickstart.md index 41139c2..e4f5295 100644 --- a/content/en/docs/platforms/android/kotlin/quickstart.md +++ b/content/en/docs/platforms/android/kotlin/quickstart.md @@ -1,6 +1,5 @@ --- -title: Quick start - Kotlin for Android -short_title: Quick start +title: Quick start description: This guide gets you started with Kotlin gRPC on Android with a simple working example. weight: 10 --- diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 37de498..1b9d7f5 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,5 +1,4 @@ {{/* This file is in place as an override to the Docsy theme */}} - {{ hugo.Generator }} @@ -12,7 +11,15 @@ {{ end */}} {{ partialCached "favicons.html" . }} -{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ if in .File.Dir "docs/languages/" }}{{ .Parent.Title }} - {{ .Title }} | {{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ end }}{{ .Site.Title }}{{ end }} + + {{- if not .IsHome -}} + {{ with .Title }}{{ . }} | {{ end -}} + {{ if findRE "^docs/(languages|platforms)/.+?/[^_]" .File.Path -}} + {{ with .Parent.Title }}{{ . }} | {{ end -}} + {{ end -}} + {{ end -}} + {{ .Site.Title -}} + {{- template "_internal/opengraph.html" . -}} {{- template "_internal/google_news.html" . -}} {{- template "_internal/schema.html" . -}}