Skip to content

Commit 52d3b9f

Browse files
committed
Addressing latest review comments
1 parent 7674a8f commit 52d3b9f

File tree

3 files changed

+17
-13
lines changed

3 files changed

+17
-13
lines changed

docs/source/_templates/components.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
:maxdepth: 2
44
:hidden:
55

6-
The labscript suite <{{intersphinx_mapping['labscript-suite'][0]}}>
6+
the labscript suite <{{intersphinx_mapping['labscript-suite'][0]}}>
77

88
{% endif %}
99
*labscript suite* components
@@ -16,7 +16,7 @@ The *labscript suite* is modular by design, and is comprised of:
1616
:header-rows: 0
1717

1818
{% for prog, item in programs.items() if item.type == 'lib' %}
19-
* - .. image:: {{item.img}}
19+
* - .. image:: {{img_path}}/{{item.icon}}
2020
:target: {{intersphinx_mapping['%s' | format(prog)][0]}}
2121
:class: labscript-suite-icon
2222
- |{{prog}}|_ --- {{item.desc}}
@@ -27,7 +27,7 @@ The *labscript suite* is modular by design, and is comprised of:
2727
:header-rows: 0
2828

2929
{% for prog, item in programs.items() if item.type == 'gui' %}
30-
* - .. image:: {{item.img}}
30+
* - .. image:: {{img_path}}/{{item.icon}}
3131
:target: {{intersphinx_mapping['%s' | format(prog)][0]}}
3232
:class: labscript-suite-icon
3333
- |{{prog}}|_ --- {{item.desc}}

docs/source/conf.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -95,37 +95,37 @@
9595
labscript_suite_programs = {
9696
'labscript': {
9797
'desc': 'Expressive composition of hardware-timed experiments',
98-
'img': img_path + '/labscript_32nx32n.svg',
98+
'icon': 'labscript_32nx32n.svg',
9999
'type': 'lib',
100100
},
101101
'labscript-devices': {
102102
'desc': 'Plugin architecture for controlling experiment hardware',
103-
'img': img_path + '/labscript_32nx32n.svg',
103+
'icon': 'labscript_32nx32n.svg',
104104
'type': 'lib',
105105
},
106106
'labscript-utils': {
107107
'desc': 'Shared modules used by the *labscript suite*',
108-
'img': img_path + '/labscript_32nx32n.svg',
108+
'icon': 'labscript_32nx32n.svg',
109109
'type': 'lib',
110110
},
111111
'runmanager': {
112112
'desc': 'Graphical and remote interface to parameterized experiments',
113-
'img': img_path + '/runmanager_32nx32n.svg',
113+
'icon': 'runmanager_32nx32n.svg',
114114
'type': 'gui',
115115
},
116116
'blacs': {
117117
'desc': 'Graphical interface to scientific instruments and experiment supervision',
118-
'img': img_path + '/blacs_32nx32n.svg',
118+
'icon': 'blacs_32nx32n.svg',
119119
'type': 'gui',
120120
},
121121
'lyse': {
122122
'desc': 'Online analysis of live experiment data',
123-
'img': img_path + '/lyse_32nx32n.svg',
123+
'icon': 'lyse_32nx32n.svg',
124124
'type': 'gui',
125125
},
126126
'runviewer': {
127127
'desc': 'Visualize hardware-timed experiment instructions',
128-
'img': img_path + '/runviewer_32nx32n.svg',
128+
'icon': 'runviewer_32nx32n.svg',
129129
'type': 'gui',
130130
},
131131
}
@@ -217,5 +217,6 @@ def setup(app):
217217
intersphinx_mapping=intersphinx_mapping,
218218
programs=labscript_suite_programs,
219219
current_project=project,
220+
img_path=img_path
220221
)
221222
)

docs/source/index.rst

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
You can adapt this file completely to your liking, but it should at least
44
contain the root `toctree` directive.
55
6-
``labscript`` documentation
7-
===========================
8-
``labscript``, a component of the labscript suite, is an API used to define the experiment logic of a buffered experiment shot. This documentation will outline the general device hierarchy used when defining a connection table, and the ``labscript`` classes used to command input and output. For device specific documentation, and documentation for adding support for new devices, please refer to the :doc:`labscript-devices <labscript-devices:index>` documentation.
6+
labscript
7+
=========
8+
**labscript**, a component of the labscript suite, is an API used to define the experiment logic of a buffered experiment shot. This documentation will outline the general device hierarchy used when defining a connection table, and the **labscript** classes used to command input and output. For device specific documentation, and documentation for adding support for new devices, please refer to the :doc:`labscript-devices <labscript-devices:index>` documentation.
99

1010

1111
.. toctree::
1212
:maxdepth: 2
1313
:hidden:
14+
:caption: DOCUMENTATION
1415

1516
introduction
1617
connection_table
@@ -30,6 +31,8 @@
3031

3132
Home Page <http://labscriptsuite.org>
3233
Source Code <https://github.com/labscript-suite/labscript>
34+
PyPI <https://pypi.org/project/labscript/>
35+
Anaconda Cloud <https://anaconda.org/labscript-suite/labscript>
3336
BitBucket Archive <http://bitbucket-archive.labscriptsuite.org/#!/labscript_suite/labscript>
3437

3538
.. todolist::

0 commit comments

Comments
 (0)