From aff8b0779acc0114dd58211433e88a4c4d4e3bd3 Mon Sep 17 00:00:00 2001 From: Hagen Wierstorf Date: Mon, 16 Dec 2024 13:05:10 +0100 Subject: [PATCH] Read default config file --- docs/conf.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 959215f1..885965d6 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -94,12 +94,12 @@ # Cache databases to avoid progress bar in code examples ------------------ +_config = audb.core.config.load_configuration_file( + audb.core.config.global_config_file, +) audb.config.REPOSITORIES = [ - audb.Repository( - name="audb-public", - host="s3.dualstack.eu-north-1.amazonaws.com", - backend="s3", - ) + audb.Repository(repo["name"], repo["host"], repo["backend"]) + for repo in _config["repositories"] ] database_name = "emodb" database_version = "1.4.1"