Skip to content

Commit ec81702

Browse files
committed
progress
1 parent 4ad9552 commit ec81702

File tree

2 files changed

+33
-3
lines changed

2 files changed

+33
-3
lines changed

docs/codegen/src/env_variables.rs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,24 @@ pub fn generate_env_variables(docs_dir: &Path) -> Result<()> {
3232
env.pgls_config_path.name(),
3333
env.pgls_config_path.description()
3434
)?;
35+
writeln!(
36+
content,
37+
"### `{}`\n\n {}\n",
38+
env.pgt_log_path.name(),
39+
env.pgt_log_path.description()
40+
)?;
41+
writeln!(
42+
content,
43+
"### `{}`\n\n {}\n",
44+
env.pgt_log_prefix.name(),
45+
env.pgt_log_prefix.description()
46+
)?;
47+
writeln!(
48+
content,
49+
"### `{}`\n\n {}\n",
50+
env.pgt_config_path.name(),
51+
env.pgt_config_path.description()
52+
)?;
3553

3654
let data = fs::read_to_string(&file_path)?;
3755

docs/reference/env_variables.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,29 @@
33
[//]: # (BEGIN ENV_VARS)
44

55

6-
### `PGT_LOG_PATH`
6+
### `PGLS_LOG_PATH`
77

88
The directory where the Daemon logs will be saved.
99

10-
### `PGT_LOG_PREFIX_NAME`
10+
### `PGLS_LOG_PREFIX_NAME`
1111

1212
A prefix that's added to the name of the log. Default: `server.log.`
1313

14-
### `PGT_CONFIG_PATH`
14+
### `PGLS_CONFIG_PATH`
1515

1616
A path to the configuration file
1717

18+
### `PGT_LOG_PATH`
19+
20+
The directory where the Daemon logs will be saved. Deprecated, use PGLS_LOG_PATH instead.
21+
22+
### `PGT_LOG_PREFIX_NAME`
23+
24+
A prefix that's added to the name of the log. Default: `server.log`. Deprecated, use PGLS_LOG_PREFIX_NAME instead.
25+
26+
### `PGT_CONFIG_PATH`
27+
28+
A path to the configuration file. Deprecated, use PGLS_CONFIG_PATH instead.
29+
1830

1931
[//]: # (END ENV_VARS)

0 commit comments

Comments
 (0)