diff --git a/{{cookiecutter.plugin_name}}/docs/source/conf.py b/{{cookiecutter.plugin_name}}/docs/source/conf.py index a0f0cb7..6a6a582 100755 --- a/{{cookiecutter.plugin_name}}/docs/source/conf.py +++ b/{{cookiecutter.plugin_name}}/docs/source/conf.py @@ -15,13 +15,15 @@ import time from aiida import load_profile +from aiida.storage.sqlite_temp import SqliteTempBackend import {{cookiecutter.module_name}} # -- AiiDA-related setup -------------------------------------------------- # Load AiiDA profile -load_profile() +temp_profile = SqliteTempBackend.create_profile('temp-profile') +load_profile(temp_profile, allow_switch=True) # -- General configuration ------------------------------------------------