From a35b81a1876922a1252d441bfeb5c07fe7cb11ac Mon Sep 17 00:00:00 2001 From: Clement Tsang <34804052+ClementTsang@users.noreply.github.com> Date: Fri, 29 Aug 2025 23:12:19 -0400 Subject: [PATCH] docs: update docs page with missing features (#1805) * add no key setting * do it here instead of in main loop * add a warning * docs: update a bunch of docs with features * linux-only test * oop * skip field check for other os * oop * easier way of doing it * use dead code * oop * huh guess I don't need it --- .../configuration/command-line-options.md | 64 ++++++++++--------- .../configuration/config-file/disk-table.md | 37 +++++++++++ .../configuration/config-file/network.md | 26 ++++++++ .../configuration/config-file/styling.md | 17 ++--- .../config-file/temperature-table.md | 25 ++++++++ sample_configs/default_config.toml | 6 ++ schema/nightly/bottom.json | 21 +++++- src/constants.rs | 3 + src/options/args.rs | 14 ++-- src/options/config.rs | 14 ++-- src/options/config/style.rs | 5 ++ src/options/config/style/widgets.rs | 4 ++ tests/integration/valid_config_tests.rs | 6 ++ tests/valid_configs/os_specific/linux.toml | 4 ++ 14 files changed, 194 insertions(+), 52 deletions(-) create mode 100644 docs/content/configuration/config-file/disk-table.md create mode 100644 docs/content/configuration/config-file/network.md create mode 100644 docs/content/configuration/config-file/temperature-table.md create mode 100644 tests/valid_configs/os_specific/linux.toml diff --git a/docs/content/configuration/command-line-options.md b/docs/content/configuration/command-line-options.md index d65a584b..aee22700 100644 --- a/docs/content/configuration/command-line-options.md +++ b/docs/content/configuration/command-line-options.md @@ -5,39 +5,43 @@ see information on these options by running `btm -h`, or run `btm --help` to dis ## General Options -| Option | Behaviour | -| --------------------------------- | ---------------------------------------------------- | -| `--autohide_time` | Temporarily shows the time scale in graphs. | -| `-b, --basic` | Hides graphs and uses a more basic look. | -| `-C, --config ` | Sets the location of the config file. | -| `-t, --default_time_value