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"