Skip to content

Commit 9b76dcb

Browse files
authored
Merge pull request #80 from dihm/default_labconfig_docs
Add default labconfig file to docs
2 parents e13c992 + e5cf3fb commit 9b76dcb

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

docs/source/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ This documentation is primarily for developers who might want to use this common
1414
:hidden:
1515
:caption: DOCUMENTATION
1616

17+
labconfig
1718
api/index
1819

1920
.. toctree::

docs/source/labconfig.rst

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
The *labconfig.ini* file
2+
========================
3+
4+
The `labconfig.ini` file is a global configuration file for your **labscript-suite** installation.
5+
It contains configurable settings that govern how the individual components of the suite operate.
6+
The name of this file must be the host computer's system name.
7+
So if my system's name was `heisenberg`, the labconfig file name would be `heisenberg.ini`.
8+
This file should be located in the `labscript-suite` directory in the user space, in the `labconfig` subdirectory.
9+
10+
When :doc:`installing the **labscript-suite** for the first time <labscript-suite:installation/index>`, running the `labscript-profile-create` command will automatically generate the `labscript-suite` user space directory in the correct place and generate a `labconfig.ini` file for use on your system.
11+
By editing the `ini` file named after your system, you can update the configuration settings of your **labscript-suite** installation.
12+
13+
The Default *labconfig.ini*
14+
---------------------------
15+
16+
Below is a copy of the default lab configuration if you were to install the **labscript-suite** today.
17+
18+
.. note::
19+
20+
When updates are made to the suite that add or change keys available in the labconfig, your local file will **NOT** be automatically updated to include them.
21+
Instead, if keys are missing from your local profile, default behavior will be assumed.
22+
To implement the added functionality, you will need to manually add/change the keys in your local labconfig.
23+
24+
.. include:: ../../labscript_profile/default_profile/labconfig/example.ini
25+
:code:

0 commit comments

Comments
 (0)