Skip to content

Commit

Permalink
Use documentation profile
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Dec 18, 2023
1 parent c686032 commit d03dfa9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
8 changes: 5 additions & 3 deletions notebooks/viewers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
"metadata": {},
"outputs": [],
"source": [
"# Load the default AiiDA profile.\n",
"from aiida import orm, load_profile\n",
"load_profile();"
"# default profile of the AiiDA installation is not configured.\n",
"from aiida import orm\n",
"from aiida.manage.configuration import load_documentation_profile\n",
"\n",
"load_documentation_profile()"
]
},
{
Expand Down
18 changes: 14 additions & 4 deletions notebooks/wizard_apps.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,15 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b5256919",
"id": "edfc9c5a",
"metadata": {},
"outputs": [],
"source": [
"from aiida import load_profile\n",
"# Load the dummy profile to make sure the docs build succeed even if the current\n",
"# default profile of the AiiDA installation is not configured.\n",
"from aiida.manage.configuration import load_documentation_profile\n",
"\n",
"load_profile();"
"load_documentation_profile()"
]
},
{
Expand Down Expand Up @@ -323,6 +325,14 @@
"# Display the app to the user.\n",
"display(app)"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "4672a973",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -341,7 +351,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.9.13"
"version": "3.9.15"
}
},
"nbformat": 4,
Expand Down

0 comments on commit d03dfa9

Please sign in to comment.