From 36262c99bc26a04a36abb039c2c09d2435797a4c Mon Sep 17 00:00:00 2001 From: zyy17 Date: Sat, 18 May 2024 09:57:49 +0800 Subject: [PATCH] docs: add toc for config docs (#3974) --- config/config-docs-template.md | 8 +++++++- config/config.md | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/config/config-docs-template.md b/config/config-docs-template.md index 8fe10780f599..b70c20184d31 100644 --- a/config/config-docs-template.md +++ b/config/config-docs-template.md @@ -1,10 +1,16 @@ # Configurations +- [Standalone Mode](#standalone-mode) +- [Distributed Mode](#distributed-mode) + - [Frontend](#frontend) + - [Metasrv](#metasrv) + - [Datanode](#datanode) + ## Standalone Mode {{ toml2docs "./standalone.example.toml" }} -## Cluster Mode +## Distributed Mode ### Frontend diff --git a/config/config.md b/config/config.md index ce5b57250236..fa58b074645b 100644 --- a/config/config.md +++ b/config/config.md @@ -1,5 +1,11 @@ # Configurations +- [Standalone Mode](#standalone-mode) +- [Distributed Mode](#distributed-mode) + - [Frontend](#frontend) + - [Metasrv](#metasrv) + - [Datanode](#datanode) + ## Standalone Mode | Key | Type | Default | Descriptions | @@ -131,7 +137,7 @@ | `tracing.tokio_console_addr` | String | `None` | The tokio console address. | -## Cluster Mode +## Distributed Mode ### Frontend