Make page titles unique: reorder title parts (#569)

* Make page titles unique: reorder title parts

- Final work towards #363
- Contributes to #362

* Cleanup/shorten ALTS page titles

* More title cleanup

* Python generated-code page tweak
This commit is contained in:
Patrice Chalin 2020-12-17 09:44:50 -05:00 committed by GitHub
parent 043713001a
commit 877b035d32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 21 additions and 14 deletions

View File

@ -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",

View File

@ -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

View File

@ -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

View File

@ -1,5 +1,5 @@
---
title: Go Generated-code reference
title: Generated-code reference
short_title: Generated code
weight: 95
---

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
---

View File

@ -1,5 +1,4 @@
{{/* This file is in place as an override to the Docsy theme */}}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{{ hugo.Generator }}
@ -12,7 +11,15 @@
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{ end */}}
{{ partialCached "favicons.html" . }}
<title>{{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ if in .File.Dir "docs/languages/" }}{{ .Parent.Title }} - {{ .Title }} | {{ else }}{{ with .Title }}{{ . }} | {{ end }}{{ end }}{{ .Site.Title }}{{ end }}</title>
<title>
{{- if not .IsHome -}}
{{ with .Title }}{{ . }} | {{ end -}}
{{ if findRE "^docs/(languages|platforms)/.+?/[^_]" .File.Path -}}
{{ with .Parent.Title }}{{ . }} | {{ end -}}
{{ end -}}
{{ end -}}
{{ .Site.Title -}}
</title>
{{- template "_internal/opengraph.html" . -}}
{{- template "_internal/google_news.html" . -}}
{{- template "_internal/schema.html" . -}}