Skip to content

Commit

Permalink
docs: add toc for config docs (GreptimeTeam#3974)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyy17 authored and WenyXu committed May 21, 2024
1 parent 75a8444 commit 36262c9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion config/config-docs-template.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
8 changes: 7 additions & 1 deletion config/config.md
Original file line number Diff line number Diff line change
@@ -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 |
Expand Down Expand Up @@ -131,7 +137,7 @@
| `tracing.tokio_console_addr` | String | `None` | The tokio console address. |


## Cluster Mode
## Distributed Mode

### Frontend

Expand Down

0 comments on commit 36262c9

Please sign in to comment.