Skip to content

Commit

Permalink
Use temp profile for documentation build
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Jan 28, 2024
1 parent e180ee7 commit 207cdc2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion {{cookiecutter.plugin_name}}/docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 ------------------------------------------------

Expand Down

0 comments on commit 207cdc2

Please sign in to comment.