From d660f83c01584158c2f8efd80412fcf1ba2c69c0 Mon Sep 17 00:00:00 2001 From: Jusong Yu Date: Fri, 7 Jun 2024 22:17:47 +0200 Subject: [PATCH] Fix doc build --- docs/source/conf.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 707888f..3ca9963 100755 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -14,13 +14,12 @@ import time import aiida_hyperqueue -from aiida.manage.configuration import load_documentation_profile +from aiida.storage.sqlite_temp import SqliteTempBackend -# -- AiiDA-related setup -------------------------------------------------- -# Load the dummy profile even if we are running locally, this way the documentation will succeed even if the current -# default profile of the AiiDA installation does not use a Django backend. -load_documentation_profile() +# -- AiiDA-related setup -------------------------------------------------- +temp_profile = SqliteTempBackend.create_profile('temp-profile') +load_profile(temp_profile, allow_switch=True) # -- General configuration ------------------------------------------------