Skip to content

Commit b61d95f

Browse files
authored
feat: make docs prettier (#54)
1 parent 5f700a3 commit b61d95f

38 files changed

Lines changed: 492 additions & 142 deletions

docs/administration/.pages

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1+
icon: material/shield-account
12
nav:
2-
- 'index.md'
3-
- 'clients.md'
4-
- 'config.md'
5-
- 'pools.md'
6-
- 'servers.md'
7-
- '...'
3+
- index.md
4+
- ... | flat

docs/administration/clients.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: material/account-multiple
3+
---
4+
15
# Client connections
26

37
PgDog provides real time statistics and information on all client connections. They can be accessed by connecting to the [admin database](index.md) and running the `SHOW CLIENTS` command:

docs/administration/config.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: material/cog
3+
---
4+
15
# Configuration
26

37
PgDog provides real time access to its current configuration values. They can be accessed by connecting to the [admin database](index.md) and running the `SHOW CONFIG` command:
@@ -12,8 +16,6 @@ The following configuration parameters are available and their current values:
1216
|------|---------|
1317
| `auth_type` [:material-link:](../configuration/pgdog.toml/general.md#auth_type) | `scram` |
1418
| `ban_timeout` [:material-link:](../configuration/pgdog.toml/general.md#ban_timeout) | `5m` |
15-
| `broadcast_address` [:material-link:](../configuration/pgdog.toml/general.md#broadcast_address) | `default` |
16-
| `broadcast_port` [:material-link:](../configuration/pgdog.toml/general.md#broadcast_port) | `6433` |
1719
| `checkout_timeout` [:material-link:](../configuration/pgdog.toml/general.md#checkout_timeout) | `1s` |
1820
| `client_idle_timeout` [:material-link:](../configuration/pgdog.toml/general.md#client_idle_timeout) | `18446744073709551615ms` |
1921
| `connect_attempt_delay` [:material-link:](../configuration/pgdog.toml/general.md#connect_attempt_delay) | `0ms` |

docs/administration/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: material/monitor-dashboard
3+
---
4+
15
# Administration overview
26

37
PgDog keeps track of clients, servers and connection pools. It provides real time statistics on its internal operations for system

docs/administration/maintenance_mode.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: material/wrench
3+
---
4+
15
# Maintenance mode
26

37
Maintenance mode pauses queries from all clients so you can synchronize configuration changes across multiple instances of PgDog. This is useful if you're changing the [sharding](../features/sharding/index.md) options.

docs/administration/pools.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: material/pool
3+
---
4+
15
# Connection pools
26

37
PgDog provides real time statistics and information on its connection pools. You can view them by connecting to the [admin database](index.md) and running the `SHOW POOLS` command:

docs/administration/replication.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: material/content-copy
3+
---
4+
15
# Replication
26

37
PgDog provides a real time view into PostgreSQL replication for the purposes of monitoring [replication delay](../features/load-balancer/replication-failover.md#replication) and performing query traffic [failover](../features/load-balancer/replication-failover.md#failover).

docs/administration/servers.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: material/server
3+
---
4+
15
# Server connections
26

37
PgDog provides real time statistics and information on all connections to PostgreSQL databases. They can be accessed by connecting to the [admin database](index.md) and running the `SHOW SERVERS` command:

docs/architecture/.pages

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
icon: material/sitemap
2+
nav:
3+
- index.md
4+
- ... | flat

docs/architecture/benchmarks.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
---
2+
icon: material/chart-bar
3+
---
4+
15
# Benchmarks
26

37
PgDog does its best to minimize its impact on database performance. Great care is taken to make sure as few operations as possible are performed

0 commit comments

Comments
 (0)