Skip to content

Commit

Permalink
Fix docs & relax version constraint on aiida-core
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaojunfeng committed May 1, 2024
1 parent 2719a50 commit 97bbe16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@
# serve to show the default.
import time

# 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.
from aiida.manage.configuration import load_documentation_profile
from aiida.manage.configuration import Profile, load_profile

load_documentation_profile()
load_profile(Profile("docs", {"process_control": {}, "storage": {}}))

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ tests = [
]
pre-commit = ["pre-commit", "pylint"]
docs = [
"aiida-core>=1.0.0,<2.5.0",
"aiida-core~=2.5",
"docutils",
"sphinx",
"sphinx-copybutton",
Expand Down

0 comments on commit 97bbe16

Please sign in to comment.