Browse Source

Add notice about field removal and add whitelist section

master
Arsen Musayelyan 3 months ago
parent
commit
d69b944d0b
  1. 12
      config.toml
  2. 18
      content/configuration/sections.md

12
config.toml

@ -10,4 +10,14 @@ theme = "hugo-theme-relearn"
home = [ "HTML", "RSS", "JSON"]
[params]
themeVariant = "blue"
themeVariant = "blue"
[[menu.shortcuts]]
name = "<i class='fab fa-git-alt'></i> Gitea"
url = "https://gitea.arsenm.dev/Arsen6331/itd"
weight = 1
[[menu.shortcuts]]
name = "<i class='far fa-clock'></i> InfiniTime"
url = "https://github.com/InfiniTimeOrg/InfiniTime"
weight = 1

18
content/configuration/sections.md

@ -8,6 +8,10 @@ This page is about the various sections in the config, their purpose, and how to
### cfg.version
{{% notice note %}}
This field was removed in [fbb7cd9bc1](https://gitea.arsenm.dev/Arsen6331/itd/commit/fbb7cd9bc1f632fb52f14f10ee76ade06b68824c)
{{% /notice %}}
This field is temporary and was added because I changed the config format a while ago and wanted to make sure no one was still using the old config with a new version of ITD.
---
@ -32,6 +36,20 @@ This field is a boolean that dictates whether ITD will attempt to reconnect to t
---
### conn.whitelist
This section allows filtering which watches will be connected to. Only the devices in the devices list will be connected to.
#### enabled
This field is a boolean which dictates whether the whitelist is enabled.
#### devices
This field is an array if strings which contains BLE addresses that should be allowed for connection. A PineTime's BLE address can be found in the third page of the about section in settings.
---
### on.connect
This section contains options for what happens when ITD first connects to a PineTime.

Loading…
Cancel
Save