Skip to content

Commit

Permalink
Fix doc build
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Jun 7, 2024
1 parent 7981ac9 commit d660f83
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ------------------------------------------------

Expand Down

0 comments on commit d660f83

Please sign in to comment.