docs/src/config_updates.md
This config section contains settings related to updating the tealdeer cache.
Tealdeer can refresh the cache automatically when it is outdated. This
behavior can be configured in the updates section and is disabled by
default.
auto_updateSpecifies whether the auto-update feature should be enabled (defaults to
false).
[updates]
auto_update = true
auto_update_interval_hoursDuration, since the last cache update, after which the cache will be
refreshed (defaults to 720 hours). This parameter is ignored if auto_update
is set to false.
[updates]
auto_update = true
auto_update_interval_hours = 24
download_languagesThe list of languages which should be downloaded when updating.
If unspecified, the languages listed in the search.languages setting are used.
Thus, this setting is the most useful to instruct tealdeer to download pages in additional languages that are not searched by default.
Either way, the language used can be overwritten using the --language command line flag.
[search]
languages = ["de", "en"]
[updates]
# sometimes I like to read the Italian description
download_languages = ["de", "en", "it"]
archive_sourceURL for the location of the tldr pages archive. By default the pages are
fetched from the latest tldr-pages/tldr GitHub release.
[updates]
archive_source = "https://my-company.example.com/tldr/"
tls_backendSpecifies which TLS backend to use. Try changing this setting if you encounter certificate errors.
Available options:
rustls-with-native-roots - Rustls (a TLS library in Rust) with native rootsrustls-with-webpki-roots - Rustls with WebPKI rootsnative-tls - Native TLS
[updates]
tls_backend = "native-tls"