Skip to content

Commit 8cedbd4

Browse files
committed
spelling
1 parent cc3d139 commit 8cedbd4

File tree

144 files changed

+1037
-979
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

144 files changed

+1037
-979
lines changed

.github/workflows/documentation.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,11 @@ jobs:
1414
python-version: "3.12"
1515
- name: install requirements
1616
run: pip install -e .[dev]
17+
- name: run pytest
18+
run: python -m pytest
1719
- name: run spellcheck
1820
run: sphinx-build -E -a -W --keep-going -b spelling doc _build
19-
call_sphinx_builder:
21+
build:
2022
uses: ISISComputingGroup/reusable-workflows/.github/workflows/sphinx.yml@main
2123
secrets: inherit
2224
with:

.gitignore

Lines changed: 159 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,164 @@
1+
# Byte-compiled / optimized / DLL files
2+
__pycache__/
3+
*.py[cod]
4+
*$py.class
5+
6+
# C extensions
7+
*.so
8+
9+
# Distribution / packaging
10+
.Python
11+
build/
12+
develop-eggs/
13+
dist/
14+
downloads/
15+
eggs/
16+
.eggs/
17+
lib/
18+
lib64/
19+
parts/
20+
sdist/
21+
var/
22+
wheels/
23+
share/python-wheels/
24+
*.egg-info/
25+
.installed.cfg
26+
*.egg
27+
MANIFEST
28+
29+
# PyInstaller
30+
# Usually these files are written by a python script from a template
31+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
32+
*.manifest
33+
*.spec
34+
35+
# Installer logs
36+
pip-log.txt
37+
pip-delete-this-directory.txt
38+
39+
# Unit test / coverage reports
40+
htmlcov/
41+
.tox/
42+
.nox/
43+
.coverage
44+
.coverage.*
45+
.cache
46+
nosetests.xml
47+
coverage.xml
48+
*.cover
49+
*.py,cover
50+
.hypothesis/
51+
.pytest_cache/
52+
cover/
53+
54+
# Translations
55+
*.mo
56+
*.pot
57+
58+
# Django stuff:
59+
*.log
60+
local_settings.py
61+
db.sqlite3
62+
db.sqlite3-journal
63+
64+
# Flask stuff:
65+
instance/
66+
.webassets-cache
67+
68+
# Scrapy stuff:
69+
.scrapy
70+
71+
# Sphinx documentation
72+
docs/_build/
73+
74+
# PyBuilder
75+
.pybuilder/
76+
target/
77+
78+
# Jupyter Notebook
79+
.ipynb_checkpoints
80+
81+
# IPython
82+
profile_default/
83+
ipython_config.py
84+
85+
# pyenv
86+
# For a library or package, you might want to ignore these files since the code is
87+
# intended to run in multiple environments; otherwise, check them in:
88+
# .python-version
89+
90+
# pipenv
91+
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
92+
# However, in case of collaboration, if having platform-specific dependencies or dependencies
93+
# having no cross-platform support, pipenv may install dependencies that don't work, or not
94+
# install all needed dependencies.
95+
#Pipfile.lock
96+
97+
# poetry
98+
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
99+
# This is especially recommended for binary packages to ensure reproducibility, and is more
100+
# commonly ignored for libraries.
101+
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
102+
#poetry.lock
103+
104+
# pdm
105+
# Similar to Pipfile.lock, it is generally recommended to include pdm.lock in version control.
106+
#pdm.lock
107+
# pdm stores project-wide configurations in .pdm.toml, but it is recommended to not include it
108+
# in version control.
109+
# https://pdm.fming.dev/latest/usage/project/#working-with-version-control
110+
.pdm.toml
111+
.pdm-python
112+
.pdm-build/
113+
114+
# PEP 582; used by e.g. github.com/David-OConnor/pyflow and github.com/pdm-project/pdm
115+
__pypackages__/
116+
117+
# Celery stuff
118+
celerybeat-schedule
119+
celerybeat.pid
120+
121+
# SageMath parsed files
122+
*.sage.py
123+
124+
# Environments
125+
.env
126+
.venv
127+
env/
128+
venv/
129+
ENV/
130+
env.bak/
131+
venv.bak/
132+
133+
# Spyder project settings
134+
.spyderproject
135+
.spyproject
136+
137+
# Rope project settings
138+
.ropeproject
139+
140+
# mkdocs documentation
141+
/site
142+
143+
# mypy
144+
.mypy_cache/
145+
.dmypy.json
146+
dmypy.json
147+
148+
# Pyre type checker
149+
.pyre/
150+
151+
# pytype static type analyzer
152+
.pytype/
153+
154+
# Cython debug symbols
155+
cython_debug/
156+
157+
.idea/
158+
.vscode/
159+
1160
.idea/*
2161
.venv/
3162
ibex_developers_manual.egg-info/
4163
build/
5164
_build/
6-
doc/words.txt

doc/Editing-the-Wiki.md

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ This documentation is built using [sphinx](https://www.sphinx-doc.org/en/master/
44
plugin. Both of these tools have excellent online documentation.
55

66
Sphinx is a widely-adopted structured documentation tool, which scales well even for very large projects - for example it
7-
is used to build [python's documentation](https://docs.python.org/3/), the [linux kernel documentation](https://docs.kernel.org/), and
8-
the [numpy documentation](https://numpy.org/doc/stable/).
7+
is used to build [Python's documentation](https://docs.python.org/3/), the [Linux kernel documentation](https://docs.kernel.org/), and
8+
the [EPICS documentation](https://docs.epics-controls.org/en/latest/).
99

1010
## Markdown
1111

@@ -114,6 +114,17 @@ sphinx-build -b spelling doc _build
114114
There is an additional dictionary of allowed words in `doc/spelling_wordlist.txt`. This
115115
is used for words which we know are spelt correctly, but are not in the default dictionary.
116116

117+
The word list can be kept in order by running `sort_word_list` (which will be available in
118+
the python virtual environment). This is also enforced by CI, and can be checked locally by
119+
running `pytest`. Both of these tools should be run from the top-level of an `ibex_developers_manual`
120+
git checkout - the directory that contains `pyproject.toml`.
121+
122+
Sphinx is strict about capitalisation; where multiple spellings are valid, the word will
123+
need to be added to the word list with each of the valid spellings. An exception is all-lowercase entries in the
124+
word list - these also allow a variant with an initial capital letter.
125+
126+
Where a word or product has a preferred stylisation, for example **ActiveMQ** or **LabVIEW**, only that spelling
127+
should be added to the word list. Proper nouns should not have uncapitalised variants added to the word list.
117128

118129
## Admonitions
119130

doc/Glossary.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## ACF
44

5-
**A**ccess **C**ontrol **F**ile. A file used by the [Gateway](#gateway) which contains rules for access.
5+
**Access Control File**. A file used by the [Gateway](#gateway) which contains rules for access.
66

77
## [ActiveMQ](/system_components/ActiveMQ)
88

@@ -46,7 +46,7 @@ A [Channel Access](#channel-access-ca) Server (CAS) that allows [blocks](#block)
4646

4747
## [CALab](https://www.helmholtz-berlin.de/zentrum/locations/it/software/exsteuer/calab/index_en.html)
4848

49-
**C**hannel **A**ccess **Lab**oratory. A library which enables [EPICS](#epics) and [LabVIEW](#labview) to communicate with each other.
49+
**Channel Access Laboratory**. A library which enables [EPICS](#epics) and [LabVIEW](#labview) to communicate with each other.
5050

5151
## [Calibration Files](/system_components/configurations/Calibration-Files)
5252

@@ -62,7 +62,7 @@ A device, usually a spinning disc of thick metal with a narrow slot, which allow
6262

6363
## [CLF](https://www.clf.stfc.ac.uk/Pages/home.aspx)
6464

65-
**C**entral **L**aser **F**acility. A department at RAL that also uses the [EPICS](#epics) control system.
65+
**Central Laser Facility**. A department at RAL that also uses the [EPICS](#epics) control system.
6666

6767
## [Code Chats](processes/meetings/Code-Chats-and-Lightning-Talks)
6868

@@ -92,7 +92,7 @@ A Python script to upgrade current configurations to be compatible with new vers
9292

9393
## [CSS](http://controlsystemstudio.org/)
9494

95-
"**C**ontrol **S**ystem **S**tudio is an [Eclipse](#eclipse)-based collection of tools to monitor and operate large scale control systems, such as the ones in the accelerator community. It's a product of the collaboration between different laboratories and universities."
95+
"**Control System Studio** is an [Eclipse](#eclipse)-based collection of tools to monitor and operate large scale control systems, such as the ones in the accelerator community. It's a product of the collaboration between different laboratories and universities."
9696

9797
## [DAE](/specific_iocs/DAE-and-the-ICP)
9898

@@ -119,7 +119,7 @@ A software implementation of hardware. Usually used to help write and test an [
119119

120120
## EPICS
121121

122-
**E**xperimental **P**hysics and **I**ndustrial **C**ontrol **S**ystem. A client/server control system using [Channel Access](#channel-access-ca) as its communication protocol, forming a distributed real-time database of machine values ([PVs](#pv)).
122+
**Experimental Physics and Industrial Control System**. A client/server control system using [Channel Access](#channel-access-ca) as its communication protocol, forming a distributed real-time database of machine values ([PVs](#pv)).
123123
It is a collection of software tools collaboratively developed which can be integrated to provide a comprehensive and scalable control system.
124124

125125
## Field
@@ -142,7 +142,7 @@ While Git takes care of the underlying version control, GitHub is the collaborat
142142

143143
## GUI
144144

145-
**G**raphical **U**ser **I**nterface. AKA "[The GUI](Client)" or [IBEX](#ibex) Client. A program which provides a graphical method of interacting with the [IBEX](#ibex) Server.
145+
**Graphical User Interface**. AKA "[The GUI](Client)" or [IBEX](#ibex) Client. A program which provides a graphical method of interacting with the [IBEX](#ibex) Server.
146146

147147
## IBEX
148148

@@ -156,7 +156,7 @@ Archives [PV](#pv) values using the [CSS Archive Engine](#archive-engine) which
156156

157157
## IOC
158158

159-
**I**nput**O**utput**C**ontroller. A process which reads and writes [PVs](#pv). Often interfaces with hardware (e.g. sample environment equipment) to enable it to be controlled remotely.
159+
**Input Output Controller**. A process which reads and writes [PVs](#pv). Often interfaces with hardware (e.g. sample environment equipment) to enable it to be controlled remotely.
160160

161161
## Java
162162

@@ -172,11 +172,11 @@ The journal parser is a program that runs as part of the end run processes. It l
172172

173173
## [LabVIEW](/system_components/LabVIEW)
174174

175-
**Lab**oratory**V**irtual**I**nstrument**E**ngineering**W**orkbench. A graphical programming language in which the device drivers for [SECI](#seci) are written.
175+
**Laboratory Virtual Instrument Engineering Workbench**. A graphical programming language in which the device drivers for [SECI](#seci) are written.
176176

177177
## [LeWIS](https://github.com/DMSC-Instrument-Data/lewis)
178178

179-
**Le**t's **W**rite **I**ntricate **S**imulators. A Python framework for producing and running [emulators](#emulator). See [Emulating-Devices](/iocs/testing/Emulating-Devices) for more information.
179+
**Let's Write Intricate Simulators**. A Python framework for producing and running [emulators](#emulator). See [Emulating-Devices](/iocs/testing/Emulating-Devices) for more information.
180180

181181
## Macro
182182

@@ -198,7 +198,7 @@ A network-based control system. Some elements of it are used in the [script ser
198198

199199
## OPI
200200

201-
**Op**erator **I**nterface. A file used in [CSS](#css) to enable a user to interact with an IOC graphically.
201+
**Operator Interface**. A file used in [CSS](#css) to enable a user to interact with an IOC graphically.
202202

203203
## Perspective
204204

@@ -208,7 +208,7 @@ A network-based control system. Some elements of it are used in the [script ser
208208

209209
## PV
210210

211-
**P**rocess **V**ariable. A named piece of data and the primary object of the [Channel Access Protocol](#channel-access-ca), often associated with a piece of equipment (e.g. status, readback, setpoint, parameter).
211+
**Process Variable**. A named piece of data and the primary object of the [Channel Access Protocol](#channel-access-ca), often associated with a piece of equipment (e.g. status, readback, setpoint, parameter).
212212

213213
## PVLIST
214214

@@ -228,15 +228,15 @@ The version of [IBEX](#ibex) to be deployed.
228228

229229
## SECI
230230

231-
**S**ample **E**nvironment **C**ontrol **I**nterface. The current instrument control system, currently being replaced by IBEX. Written in C# and incorporating [LabVIEW](#labview) drivers for the sample environment equipment. If you need access to the SECI user manual, please ask.
231+
**Sample Environment Control Interface. An old instrument control system, used before IBEX. No longer in use on any instruments. Written in C# and incorporating [LabVIEW](#labview) drivers for the sample environment equipment.
232232

233233
## Sequencer
234234

235235
An [EPICS](#epics) module to provide support for [SNL](#snl) files.
236236

237237
## SNL
238238

239-
**S**tate **N**otation **L**anguage. A "C-like" language to enable [State Machines](#state-machine) to be written which can then be integrated into [IOCs](#ioc).
239+
**State Notation Language**. A "C-like" language to enable [State Machines](#state-machine) to be written which can then be integrated into [IOCs](#ioc).
240240

241241
## Soft Motor
242242

@@ -270,7 +270,7 @@ A tool for running [virtual machines](#virtual-machine).
270270

271271
## VI
272272

273-
**V**irtual **I**nstrument. A [LabVIEW](#labview) program, usually a device driver for interacting with sample environment equipment.
273+
**Virtual Instrument**. A [LabVIEW](#labview) program, usually a device driver for interacting with sample environment equipment.
274274

275275
## Virtual Machine
276276

doc/Providing-Support.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ There are a number of tips for [trouble shooting](#all_troubleshooting_links) al
161161
<summary>This network device isn't connecting</summary>
162162

163163
1. If the device has been working on the ISIS network in that specific hall since the start of May 2025 then this is most likely an issue with the device or the port.
164-
1. If this is a new to that hall, or to ISIS generally device, or it hasnt been used since sometime before May 2025, then this may be a network access issue, and it will need some help from the Infrastructure team, the MCR will have a number for them.
164+
1. If this is a new to that hall, or to ISIS generally device, or it hasn't been used since sometime before May 2025, then this may be a network access issue, and it will need some help from the Infrastructure team, the MCR will have a number for them.
165165

166166
</details>
167167

doc/client/coding/Connecting-a-View-to-a-PV.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ The getter returns an empty string, but this does not matter - we could wire it
447447

448448
The setter uses the Writable object to write the new value to the IOC via channel access.
449449

450-
Finally we need to edit the View itself to enable it to bind to titleSP. For this we add a text-box called txtNewTitle and set up the binding:
450+
Finally we need to edit the View itself to enable it to bind to titleSP. For this we add a text-box called `txtNewTitle` and set up the binding:
451451
```java
452452
...
453453
bindingContext.bindValue(WidgetProperties.text(SWT.Modify).observe(txtNewTitle), BeanProperties.value("titleSP").observe(org.csstudio.isis.title.Title.getInstance().model()));

doc/client/coding/GUI-Coding-Conventions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Checkstyle has a suppress warning flag that tells it to ignore certain warning;
102102

103103
* Magic numbers - if it is related to a GUI layout then suppress them.
104104

105-
* Name must match pattern - ignore GUI names that don't match the recommended pattern (e.g. gd_switchToCombo)
105+
* Name must match pattern - ignore GUI names that don't match the recommended pattern (e.g. `gd_switchToCombo`)
106106

107107
Suppression example:
108108

doc/client/coding/Static-analysis.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Checkstyle is designed to enforce a set of highly configurable coding standards.
1010

1111
The style rules imposed by Checkstyle are very demanding and it may be helpful to consider them as guidelines rather than as hard rules. At our first analysis of the Eclipse GUI project, Checkstyle showed over 30000 errors and it probably isn't worth the effort to fix all of these. However moving forward, when writing new code, it is a good idea to make at least some effort to conform to the Checkstyle 'rules'.
1212

13-
Checkstyle configuration is done by XML file called 'checkstyle.xml' which is located in the tycho parent directory. This is then set up as a global rule set called IBEX Checks. The rule set used is the default Sun ruleset with some rules disabled (by commenting them out in the XML file). In order to reduce the number of needless Checkstyle warnings, the following specific rules, which are enabled by default, have been disabled for Jenkins:
13+
Checkstyle configuration is done by XML file called 'checkstyle.xml' which is located in the Tycho parent directory. This is then set up as a global rule set called IBEX Checks. The rule set used is the default Sun ruleset with some rules disabled (by commenting them out in the XML file). In order to reduce the number of needless Checkstyle warnings, the following specific rules, which are enabled by default, have been disabled for Jenkins:
1414

1515
* FileTabCharacterCheck - using a tab character anywhere in the code
1616
* RegexpSinglelineCheck - line has trailing white space
@@ -88,7 +88,7 @@ For both PMD and FindBugs, there are certain rules which, while generally sensib
8888

8989
## Maven
9090

91-
The tools may be run as part of a maven build by including them as plugins in the project's pom.xml. In the case of the Eclipse GUI, each plugin is included in the 'tycho.parent' pom.xml file, and is therefore used in every other project (Eclipse plugin) during the build.
91+
The tools may be run as part of a maven build by including them as plugins in the project's pom.xml. In the case of the Eclipse GUI, each plugin is included in the `tycho.parent` pom.xml file, and is therefore used in every other project (Eclipse plugin) during the build.
9292

9393
* [FindBugs maven plugin](https://gleclaire.github.io/findbugs-maven-plugin/index.html)
9494
* [CheckStyle maven plugin](http://maven.apache.org/plugins/maven-checkstyle-plugin/)

doc/client/design_docs/Opening-an-OPI-Outside-of-a-Synoptic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Names
44

5-
The suggested name for this is 'Device Screens'. We will change the terminolgy currently used in the synoptic from 'Component' to 'Device' too, for consistency (this avoids ambiguity with a component as part of a configuration).
5+
The suggested name for this is 'Device Screens'. We will change the terminology currently used in the synoptic from 'Component' to 'Device' too, for consistency (this avoids ambiguity with a component as part of a configuration).
66

77
Other ideas for names were:
88
* Component Viewer

doc/client/eclipse/Checkstyle-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ You may need to install an older version to be compatible with our checkstyle co
2323
1. `Additional Properties` button
2424
1. `Add...` button
2525
1. Set:
26-
- Name: checkstyle.suppressions.file
27-
- Value: C:\Instrument\Dev\ibex_gui\base\uk.ac.stfc.isis.ibex.client.tycho.parent\suppressions.xml
26+
- Name: `checkstyle.suppressions.file`
27+
- Value: `C:\Instrument\Dev\ibex_gui\base\uk.ac.stfc.isis.ibex.client.tycho.parent\suppressions.xml`
2828
1. Apply and close: you should now be setup
2929
1. If you have issues with the highlight colour on a dark theme you can go to: Window -> Preferences, General -> Editors -> Text Editors -> Annotations to change it.
3030

0 commit comments

Comments
 (0)