diff --git a/docs/source/conf.py b/docs/source/conf.py index 0f53587..abf9d3c 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 42ed263..b4e2b69 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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",