Skip to content

Commit ca26fbe

Browse files
committed
Make docs build again (manually only, with some warnings)
1 parent a8a8453 commit ca26fbe

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212

1313
# Load the dummy profile even if we are running locally, this way the documentation will succeed even if the current
1414
# default profile of the AiiDA installation does not use a Django backend.
15-
from aiida.manage.configuration import load_documentation_profile
15+
from aiida.manage.configuration import Profile, load_profile
1616

1717
# If extensions (or modules to document with autodoc) are in another directory,
1818
# add these directories to sys.path here. If the directory is relative to the
1919
# documentation root, use os.path.abspath to make it absolute, like shown here.
2020
import aiida_dftk
2121

22-
load_documentation_profile()
22+
load_profile(Profile('docs', {'process_control': {}, 'storage': {}}))
2323

2424
# -- Project information -----------------------------------------------------
2525

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ Documentation = 'https://aiida-dftk.readthedocs.io'
4040

4141
[project.optional-dependencies]
4242
docs = [
43-
'sphinx~=4.1',
43+
'sphinx~=5.0',
4444
'sphinx-copybutton~=0.5.0',
45-
'sphinx-book-theme~=0.3.2',
45+
'sphinx-book-theme~=1.1.0',
4646
'sphinx-click~=4.0',
4747
]
4848
pre-commit = [

0 commit comments

Comments
 (0)