mirror of https://github.com/grpc/grpc.io.git
Config file cleanup (#656)
This commit is contained in:
parent
4d859cf2ea
commit
66a383c0a3
101
config.yaml
101
config.yaml
|
|
@ -1,24 +1,27 @@
|
|||
baseURL: https://grpc.io/
|
||||
languageCode: en-us
|
||||
title: gRPC
|
||||
disableKinds: [taxonomy, taxonomyTerm]
|
||||
pygmentsCodeFences: true
|
||||
|
||||
theme: ['docsy']
|
||||
theme: [docsy]
|
||||
|
||||
defaultContentLanguageInSubdir: false
|
||||
|
||||
languages:
|
||||
en:
|
||||
title: gRPC
|
||||
description: A high-performance, open source universal RPC framework
|
||||
contentDir: content/en
|
||||
languageName: English
|
||||
languageCode: en-us
|
||||
|
||||
enableGitInfo: true
|
||||
enableRobotsTXT: true
|
||||
|
||||
contentDir: 'content/en'
|
||||
defaultContentLanguage: 'en'
|
||||
defaultContentLanguageInSubdir: false
|
||||
|
||||
params:
|
||||
copyright: 'The Linux Foundation'
|
||||
repo: &repo 'https://github.com/grpc/grpc.io'
|
||||
copyright: The Linux Foundation
|
||||
repo: &repo https://github.com/grpc/grpc.io
|
||||
github_repo: *repo
|
||||
github_project_repo: *repo
|
||||
github_branch: 'main'
|
||||
github_branch: main
|
||||
branch: main
|
||||
locale: en_US
|
||||
grpc_vers:
|
||||
|
|
@ -26,44 +29,15 @@ params:
|
|||
go: v1.35.0
|
||||
java: v1.35.0
|
||||
font_awesome_version: 5.12.1
|
||||
description: A high-performance, open source universal RPC framework
|
||||
gcs_engine_id: 788f3b1ec3a111a2f
|
||||
ui:
|
||||
sidebar_menu_compact: true
|
||||
navbar_logo: true
|
||||
|
||||
# If Algolia DocSearch is enabled, sidebar search is not supported
|
||||
sidebar_search_disable: false
|
||||
|
||||
# Adds a reading time to the top of each doc.
|
||||
# If you want this feature, but occasionally need to remove the Reading time from a single page,
|
||||
# add "hide_readingtime: true" to the page's front matter
|
||||
readingtime:
|
||||
enable: false
|
||||
|
||||
show_banner: false
|
||||
|
||||
social:
|
||||
gitter: https://gitter.im/grpc/grpc
|
||||
reddit: https://www.reddit.com/r/grpc
|
||||
twitter: https://twitter.com/grpcio
|
||||
twitter_handle: '@grpcio'
|
||||
|
||||
features:
|
||||
- title: Simple service definition
|
||||
description: Define your service using Protocol Buffers, a powerful binary serialization toolset and language
|
||||
icon: feature-1.svg
|
||||
- title: Start quickly and scale
|
||||
description: Install runtime and dev environments with a single line and also scale to millions of RPCs per second with the framework
|
||||
icon: feature-2.svg
|
||||
- title: Works across languages and platforms
|
||||
description: Automatically generate idiomatic client and server stubs for your service in a variety of languages and platforms
|
||||
icon: feature-3.svg
|
||||
- title: Bi-directional streaming and integrated auth
|
||||
description: Bi-directional streaming and fully integrated pluggable authentication with HTTP/2-based transport
|
||||
icon: feature-4.svg
|
||||
|
||||
fonts:
|
||||
- name: 'Open Sans'
|
||||
- name: Open Sans
|
||||
sizes: [300, 400, 600, 700]
|
||||
type: sans_serif
|
||||
|
||||
|
|
@ -74,32 +48,19 @@ params:
|
|||
|
||||
links:
|
||||
user:
|
||||
- name: 'Twitter'
|
||||
url: 'https://twitter.com/grpcio'
|
||||
icon: 'fab fa-twitter'
|
||||
desc: 'Follow us on Twitter!'
|
||||
- name: 'Google Groups'
|
||||
url: 'https://groups.google.com/g/grpc-io'
|
||||
icon: 'fab fa-google'
|
||||
desc: 'Join our Google community'
|
||||
- name: 'Gitter'
|
||||
- name: Twitter
|
||||
url: https://twitter.com/grpcio
|
||||
icon: fab fa-twitter
|
||||
- name: Google Groups
|
||||
url: https://groups.google.com/g/grpc-io
|
||||
icon: fab fa-google
|
||||
- name: Gitter
|
||||
url: https://gitter.im/grpc/grpc
|
||||
icon: 'fab fa-gitter'
|
||||
desc: 'Where developers come to talk'
|
||||
icon: fab fa-gitter
|
||||
developer:
|
||||
- name: 'GitHub'
|
||||
url: 'https://github.com/grpc'
|
||||
icon: 'fab fa-github'
|
||||
desc: 'Development takes place here!'
|
||||
|
||||
# Google Custom Search Engine ID. Remove or comment out to disable search.
|
||||
gcs_engine_id: '788f3b1ec3a111a2f'
|
||||
|
||||
# Enable Algolia DocSearch
|
||||
algolia_docsearch: false
|
||||
|
||||
#Enable offline search with Lunr.js
|
||||
offlineSearch: false
|
||||
- name: GitHub
|
||||
url: https://github.com/grpc
|
||||
icon: fab fa-github
|
||||
|
||||
markup:
|
||||
goldmark:
|
||||
|
|
@ -171,11 +132,3 @@ menu:
|
|||
url: /faq/
|
||||
weight: 7
|
||||
parent: docs
|
||||
|
||||
languages:
|
||||
en:
|
||||
title: gRPC
|
||||
description: A high-performance, open source universal RPC framework
|
||||
weight: 1
|
||||
languageName: 'English'
|
||||
languageDirection: 'ltr'
|
||||
|
|
|
|||
|
|
@ -1,4 +1,17 @@
|
|||
---
|
||||
features:
|
||||
- title: Simple service definition
|
||||
description: Define your service using Protocol Buffers, a powerful binary serialization toolset and language
|
||||
icon: feature-1.svg
|
||||
- title: Start quickly and scale
|
||||
description: Install runtime and dev environments with a single line and also scale to millions of RPCs per second with the framework
|
||||
icon: feature-2.svg
|
||||
- title: Works across languages and platforms
|
||||
description: Automatically generate idiomatic client and server stubs for your service in a variety of languages and platforms
|
||||
icon: feature-3.svg
|
||||
- title: Bi-directional streaming and integrated auth
|
||||
description: Bi-directional streaming and fully integrated pluggable authentication with HTTP/2-based transport
|
||||
icon: feature-4.svg
|
||||
---
|
||||
|
||||
{{< blocks/cover image_anchor="top" height="max" color="primary" >}}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
{{ $title := cond .IsHome site.Title .Title -}}
|
||||
{{ $type := cond .IsHome "website" "article" -}}
|
||||
{{ $desc := .Param "description" -}}
|
||||
{{ $twitter := site.Params.social.twitter_handle -}}
|
||||
{{ $twitter := "@grpcio" -}}
|
||||
{{ $img := "img/logos/grpc-icon-color.png" | absURL -}}
|
||||
{{ $imgAlt := printf "%s color logo" site.Title }}
|
||||
<meta charset="utf-8">
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
{{ $features := site.Params.features }}
|
||||
{{ $features := $.Page.Params.features }}
|
||||
<section class="bg-gray-100">
|
||||
<div class="c-features">
|
||||
{{ range $features }}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^9.8.6",
|
||||
"netlify-cli": "^3.8.1",
|
||||
"netlify-cli": "^3.8.3",
|
||||
"postcss-cli": "^7.1.2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue