From d69b944d0b7124add8c3cccfada6be294ccba283 Mon Sep 17 00:00:00 2001 From: Arsen Musayelyan Date: Wed, 27 Oct 2021 09:19:53 -0700 Subject: [PATCH] Add notice about field removal and add whitelist section --- config.toml | 12 +++++++++++- content/configuration/sections.md | 18 ++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/config.toml b/config.toml index 4da2772..f9dae2b 100644 --- a/config.toml +++ b/config.toml @@ -10,4 +10,14 @@ theme = "hugo-theme-relearn" home = [ "HTML", "RSS", "JSON"] [params] -themeVariant = "blue" \ No newline at end of file +themeVariant = "blue" + +[[menu.shortcuts]] +name = " Gitea" +url = "https://gitea.arsenm.dev/Arsen6331/itd" +weight = 1 + +[[menu.shortcuts]] +name = " InfiniTime" +url = "https://github.com/InfiniTimeOrg/InfiniTime" +weight = 1 \ No newline at end of file diff --git a/content/configuration/sections.md b/content/configuration/sections.md index 24d37b5..b594ef2 100644 --- a/content/configuration/sections.md +++ b/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.