diff --git a/docs/source/internals/storage/psql_dos.rst b/docs/source/internals/storage/psql_dos.rst index 4fb9675f07..1758535f6f 100644 --- a/docs/source/internals/storage/psql_dos.rst +++ b/docs/source/internals/storage/psql_dos.rst @@ -36,17 +36,17 @@ This is a 32-position hexadecimal sequence that is stored as a string with some - ``→`` indicate foreign keys - ``?`` indicate value types that are nullable. -.. - .. sqla-model:: ~aiida.storage.psql_dos.models.user.DbUser - .. sqla-model:: ~aiida.storage.psql_dos.models.node.DbNode - .. sqla-model:: ~aiida.storage.psql_dos.models.node.DbLink - .. sqla-model:: ~aiida.storage.psql_dos.models.group.DbGroup - .. sqla-model:: ~aiida.storage.psql_dos.models.group.DbGroupNode - .. sqla-model:: ~aiida.storage.psql_dos.models.computer.DbComputer - .. sqla-model:: ~aiida.storage.psql_dos.models.authinfo.DbAuthInfo - .. sqla-model:: ~aiida.storage.psql_dos.models.comment.DbComment - .. sqla-model:: ~aiida.storage.psql_dos.models.log.DbLog - .. sqla-model:: ~aiida.storage.psql_dos.models.settings.DbSetting + + sqla-model:: ~aiida.storage.psql_dos.models.user.DbUser + sqla-model:: ~aiida.storage.psql_dos.models.node.DbNode + sqla-model:: ~aiida.storage.psql_dos.models.node.DbLink + sqla-model:: ~aiida.storage.psql_dos.models.group.DbGroup + sqla-model:: ~aiida.storage.psql_dos.models.group.DbGroupNode + sqla-model:: ~aiida.storage.psql_dos.models.computer.DbComputer + sqla-model:: ~aiida.storage.psql_dos.models.authinfo.DbAuthInfo + sqla-model:: ~aiida.storage.psql_dos.models.comment.DbComment + sqla-model:: ~aiida.storage.psql_dos.models.log.DbLog + sqla-model:: ~aiida.storage.psql_dos.models.settings.DbSetting The many-to-one relationship ---------------------------- diff --git a/docs/source/internals/storage/sqlite_zip.rst b/docs/source/internals/storage/sqlite_zip.rst index 8d4e1e27a2..57369623f3 100644 --- a/docs/source/internals/storage/sqlite_zip.rst +++ b/docs/source/internals/storage/sqlite_zip.rst @@ -83,15 +83,15 @@ The only differences are in the handling of certain data types by SQLite versus Also, `varchar_pattern_ops` indexes are not possible in SQLite. -.. - Tables - ...... - .. sqla-model:: ~aiida.storage.sqlite_zip.models.DbUser - .. sqla-model:: ~aiida.storage.sqlite_zip.models.DbNode - .. sqla-model:: ~aiida.storage.sqlite_zip.models.DbLink - .. sqla-model:: ~aiida.storage.sqlite_zip.models.DbGroup - .. sqla-model:: ~aiida.storage.sqlite_zip.models.DbGroupNodes - .. sqla-model:: ~aiida.storage.sqlite_zip.models.DbComputer - .. sqla-model:: ~aiida.storage.sqlite_zip.models.DbAuthInfo - .. sqla-model:: ~aiida.storage.sqlite_zip.models.DbComment - .. sqla-model:: ~aiida.storage.sqlite_zip.models.DbLog + +Tables +...... +sqla-model:: ~aiida.storage.sqlite_zip.models.DbUser +sqla-model:: ~aiida.storage.sqlite_zip.models.DbNode +sqla-model:: ~aiida.storage.sqlite_zip.models.DbLink +sqla-model:: ~aiida.storage.sqlite_zip.models.DbGroup +sqla-model:: ~aiida.storage.sqlite_zip.models.DbGroupNodes +sqla-model:: ~aiida.storage.sqlite_zip.models.DbComputer +sqla-model:: ~aiida.storage.sqlite_zip.models.DbAuthInfo +sqla-model:: ~aiida.storage.sqlite_zip.models.DbComment +sqla-model:: ~aiida.storage.sqlite_zip.models.DbLog diff --git a/pyproject.toml b/pyproject.toml index 07823b57b3..1ff3c06735 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -84,7 +84,7 @@ docs = [ "sphinx-design~=0.5.0", "sphinx-notfound-page~=1.0", "sphinxext-rediraffe~=0.2.4", - # "sphinx-sqlalchemy~=0.1.1", + "sphinx-sqlalchemy~=0.2.0", "sphinx-intl~=2.1.0", "myst-nb~=1.0.0", ] diff --git a/requirements/requirements-py-3.10.txt b/requirements/requirements-py-3.10.txt index 181c516203..49255bf99a 100644 --- a/requirements/requirements-py-3.10.txt +++ b/requirements/requirements-py-3.10.txt @@ -179,6 +179,7 @@ sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-intl==2.1.0 sphinx-notfound-page==1.0.0 +sphinx-sqlalchemy==0.2.0 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.1 diff --git a/requirements/requirements-py-3.11.txt b/requirements/requirements-py-3.11.txt index b373c77c32..67cb01cc35 100644 --- a/requirements/requirements-py-3.11.txt +++ b/requirements/requirements-py-3.11.txt @@ -178,6 +178,7 @@ sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-intl==2.1.0 sphinx-notfound-page==1.0.0 +sphinx-sqlalchemy==0.2.0 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.1 diff --git a/requirements/requirements-py-3.12.txt b/requirements/requirements-py-3.12.txt index 9b4cc0a633..f288a57725 100644 --- a/requirements/requirements-py-3.12.txt +++ b/requirements/requirements-py-3.12.txt @@ -175,6 +175,7 @@ sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-intl==2.1.0 sphinx-notfound-page==1.0.0 +sphinx-sqlalchemy==0.2.0 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.1 diff --git a/requirements/requirements-py-3.9.txt b/requirements/requirements-py-3.9.txt index 552b0a5248..8bddc77c50 100644 --- a/requirements/requirements-py-3.9.txt +++ b/requirements/requirements-py-3.9.txt @@ -181,6 +181,7 @@ sphinx-copybutton==0.5.2 sphinx-design==0.5.0 sphinx-intl==2.1.0 sphinx-notfound-page==1.0.0 +sphinx-sqlalchemy==0.2.0 sphinxcontrib-applehelp==1.0.4 sphinxcontrib-devhelp==1.0.2 sphinxcontrib-htmlhelp==2.0.1