Skip to content

Commit f177589

Browse files
Reduce documentation duplication by linking to AiiDAlab docs (#1228)
This PR replaces the section on local Docker installation of AiiDAlab with a link to the corresponding section in the AiiDAlab docs and adds a note regarding the different image.
1 parent ba243ea commit f177589

File tree

6 files changed

+31
-164
lines changed

6 files changed

+31
-164
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
=====================
2+
Local Docker Instance
3+
=====================
4+
5+
.. note::
6+
7+
If you used another method to access AiiDAlab, you may proceed to :doc:`install the app </installation/install>`.
8+
9+
We provide an AiiDAlab Docker image extension with the Quantum ESPRESSO app pre-installed and ready for use. The installation instructions are mostly identical to the general instructions available on the `AiiDAlab documentation <https://aiidalab.readthedocs.io/en/latest/usage/access/index.html>`_ page. You only need to **replace** ``aiidalab/full-stack`` **with** ``ghcr.io/aiidalab/qe`` **when referencing the image** to use.
10+
11+
When complete (AiiDAlab is running in your browser), return here and proceed to :doc:`launch the app </installation/launch>`.
12+
13+
.. note::
14+
15+
When using this method to access AiiDAlab, the app will be pre-installed in the container and ready for use. No need to visit the *install the app* page.

docs/source/installation/access_aiidalab/index.rst renamed to docs/source/installation/access/index.rst

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,55 +9,56 @@ Access AiiDAlab
99
.. grid:: 1 1 1 2
1010
:gutter: 3
1111

12-
.. grid-item-card:: Materials Cloud AiiDAlab Server
12+
.. grid-item-card:: Local Docker Instance
1313
:text-align: center
1414
:shadow: md
1515

16-
For researchers affiliated with Materials Cloud partners, log into the open AiiDAlab server hosted on the Materials Cloud.
16+
Install Docker locally and run an instance of an AiiDAlab image *pre-configured** for the Quantum ESPRESSO app. No prior knowledge of Docker necessary!
1717

1818
++++
1919

20-
.. button-link:: https://aiidalab.materialscloud.org/hub/login
20+
.. button-ref:: container
21+
:ref-type: doc
2122
:click-parent:
2223
:expand:
2324
:color: primary
2425
:outline:
2526

26-
Launch the server
27+
To the guide
2728

28-
.. grid-item-card:: Local Docker Instance
29+
.. grid-item-card:: Virtual Machine Image
2930
:text-align: center
3031
:shadow: md
3132

32-
Install Docker locally and run an instance of an AiiDAlab image *pre-configured** for the Quantum ESPRESSO app. No prior knowledge of Docker necessary!
33+
Download a virtual machine image for AiiDAlab based on Quantum Mobile, *pre-configured** with everything you need to run the Quantum ESPRESSO app.
3334

3435
++++
3536

36-
.. button-ref:: container
37+
.. button-ref:: vm
3738
:ref-type: doc
3839
:click-parent:
3940
:expand:
4041
:color: primary
4142
:outline:
4243

43-
To the guide
44+
To the download page
4445

45-
.. grid-item-card:: Virtual Machine Image
46+
47+
.. grid-item-card:: Materials Cloud AiiDAlab Server
4648
:text-align: center
4749
:shadow: md
4850

49-
Download a virtual machine image for AiiDAlab based on Quantum Mobile, *pre-configured** with everything you need to run the Quantum ESPRESSO app.
51+
For researchers affiliated with Materials Cloud partners, log into the open AiiDAlab server hosted on the Materials Cloud.
5052

5153
++++
5254

53-
.. button-ref:: vm
54-
:ref-type: doc
55+
.. button-link:: https://aiidalab.materialscloud.org/hub/login
5556
:click-parent:
5657
:expand:
5758
:color: primary
5859
:outline:
5960

60-
To the download page
61+
Launch the server
6162

6263
.. div::
6364

File renamed without changes.

docs/source/installation/access_aiidalab/container.rst

Lines changed: 0 additions & 149 deletions
This file was deleted.

docs/source/installation/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,6 @@ The following links will guide you through the necessary steps to access the Aii
77
.. toctree::
88
:maxdepth: 1
99

10-
access_aiidalab/index
10+
access/index
1111
install
1212
launch

docs/source/tutorials/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Tutorials
55

66
.. important::
77

8-
Before you get started, make sure you've :doc:`accessed </installation/access_aiidalab/index>` AiiDAlab and :doc:`installed </installation/install>` the Quantum ESPRESSO app.
8+
Before you get started, make sure you've :doc:`accessed </installation/access/index>` AiiDAlab and :doc:`installed </installation/install>` the Quantum ESPRESSO app.
99

1010
.. grid:: 1 1 1 2
1111
:gutter: 3

0 commit comments

Comments
 (0)