Skip to content

Commit

Permalink
fix readthedocs build (#43)
Browse files Browse the repository at this point in the history
new configuration format requirements
  • Loading branch information
ltalirz committed Jan 29, 2024
1 parent 7d50069 commit f9b151e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.12"

python:
version: "3.10"
install:
- method: pip
path: .
Expand Down
4 changes: 3 additions & 1 deletion 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 aiida_diff

# -- 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 f9b151e

Please sign in to comment.