Add notice about field removal and add whitelist section

This commit is contained in:
Elara 2021-10-27 09:19:53 -07:00
parent 7c1e91bef7
commit d69b944d0b
2 changed files with 29 additions and 1 deletions

View File

@ -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

View File

@ -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.