Skip to content

Commit 809d341

Browse files
authored
Docs: move menu data into front matter (#897)
1 parent 822d711 commit 809d341

File tree

2 files changed

+3
-34
lines changed

2 files changed

+3
-34
lines changed

config.yaml

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -87,37 +87,3 @@ outputFormats:
8787

8888
outputs:
8989
home: [HTML, REDIRECTS, RSS]
90-
91-
# Site menus
92-
93-
menu:
94-
main:
95-
- name: Docs
96-
url: /docs/
97-
identifier: docs
98-
weight: 2
99-
- name: Overview
100-
url: /docs/
101-
weight: 1
102-
parent: docs
103-
- name: What is gRPC?
104-
url: /docs/what-is-grpc/
105-
weight: 1
106-
parent: docs
107-
- name: Languages
108-
url: /docs/languages/
109-
weight: 2
110-
parent: docs
111-
- name: Platforms
112-
url: /docs/platforms/
113-
weight: 2
114-
parent: docs
115-
- name: Guides
116-
url: /docs/guides/
117-
identifier: guides
118-
weight: 4
119-
parent: docs
120-
- name: FAQ
121-
url: /faq/
122-
weight: 7
123-
parent: docs

content/en/docs/_index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
---
22
title: Documentation
3+
linkTitle: Docs
34
no_list: true
5+
menu:
6+
main: {weight: 2}
47
---
58

69
Learn about key gRPC concepts, try a quick start, find tutorials and reference

0 commit comments

Comments
 (0)