Skip to content

Commit 17522b7

Browse files
authored
Merge pull request #60 from marcelldls/grammar-patch
Grammar patch
2 parents 7c94c5f + 85d1f59 commit 17522b7

File tree

12 files changed

+36
-36
lines changed

12 files changed

+36
-36
lines changed

docs/user/explanations/introduction.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ implementing these features:
102102
- View the current log
103103
- View historical logs (via graylog or other centralized logging system)
104104
- Connect to an IOC and interact with its shell
105-
- debug an ioc by starting a bash shell inside it's container
105+
- debug an IOC by starting a bash shell inside it's container
106106

107107

108108
Kubernetes Alternative
@@ -243,7 +243,7 @@ There are these types of CI:
243243
or other OCI registry
244244

245245
:beamline definition source:
246-
- prepares a helm chart from each ioc instance definition
246+
- prepares a helm chart from each IOC instance definition
247247
- tests that the helm chart is deployable (but does not deploy it)
248248
- locally launches each IOC instance and loads its configuration to
249249
verify that the configuration is valid (no system tests because this

docs/user/reference/environment.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ Optional Variables
5858
- **EC_LOG_URL**: if you have a centralized logging service with a web UI then
5959
you can set this variable to the URL of the web UI. This will then be
6060
displayed when the command ``ec ioc log-history <ioc-name>`` is run. The
61-
ioc name is added to the URL using ``{ioc-name}`` as a placeholder e.g.
61+
IOC name is added to the URL using ``{ioc-name}`` as a placeholder e.g.
6262

6363
- ``EC_LOG_URL='https://graylog2.diamond.ac.uk/search?rangetype=relative&fields``
6464
``=message%2Csource&width=1489&highlightMessage=&relative=172800&q=pod_name%3A``

docs/user/reference/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ engineering screens. TODO: more details will be added to a new section.
1212
Why have ioc-XXX repositories?
1313
------------------------------
1414
Why not put the Dockerfile and image generating in the support module itself
15-
instead of creating a separate Generic ioc module for each image we
15+
instead of creating a separate Generic IOC module for each image we
1616
generate?
1717

1818
Answers:

docs/user/tutorials/create_beamline.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ You will also need to setup ssh keys to authenticate to github from git. See
6060
Create a New Repository
6161
-----------------------
6262

63-
Here we will copy the beamline template repository and change it's name to bl01t.
63+
Here we will copy the beamline template repository and change its name to bl01t.
6464
We will then step through the changes that are required to make it your own.
6565

6666
NOTE: for these tutorials we will use your personal GitHub Account to
@@ -104,7 +104,7 @@ Steps
104104

105105
#. edit ``environment.sh``
106106

107-
#. change the name of the example ioc from ``iocs/blxxi-ea-ioc-01`` to
107+
#. change the name of the example IOC from ``iocs/blxxi-ea-ioc-01`` to
108108
``iocs/bl01t-ea-ioc-01``
109109

110110
#. change the beamline name in the two bash scripts in the ``services``
@@ -118,7 +118,7 @@ Environment.sh
118118
~~~~~~~~~~~~~~
119119

120120
Environment.sh is a bash script that is sourced by a beamline user or developer
121-
in order to setup their environment to work with the beamline.
121+
in order to set up their environment to work with the beamline.
122122

123123
The command line tool ``ec`` uses the environment configured by this script
124124
to determine where to deploy IOCS and where to find container images etc.

docs/user/tutorials/create_ioc.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ Viewing IOC output
277277
~~~~~~~~~~~~~~~~~~
278278

279279
Our detector output is available over PVAccess since we added the PVA plugin.
280-
We can view it using the ``c2dv`` tool. Theses commands will install ``c2dv``
280+
We can view it using the ``c2dv`` tool. These commands will install ``c2dv``
281281
and launch it to view the IOC output:
282282

283283
.. code-block:: bash
@@ -392,7 +392,7 @@ docker if that is what you are using):
392392
393393
Your IOC Instance will now be using the raw startup script and database. But
394394
should behave exactly the same as before. You are free to experiment with
395-
changes in the startup script and substitution file and re-deploy the IOC.
395+
changes in the startup script and substitution file and re-deploy the IOC.
396396

397397
.. note::
398398

docs/user/tutorials/debug_generic_ioc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Debugging Generic IOC Builds
66
This tutorial is out of date and will be updated soon.
77

88
This tutorial is a continuation of `generic_ioc`. Here we will look into
9-
debugging failed builds and fix the issue we saw in the previous tutorial.
9+
debugging failed builds and fix the issue we saw in the previous tutorial.
1010

1111
This also comes under the category of type 2. change from the list
1212
at `ioc_change_types`.

docs/user/tutorials/deploy_example.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ where indicated):
6969
source bl01t
7070
7171
Once you have done this and logged out and back in again to pick up your new
72-
profile you should be able enable the ``bl01t`` environment as follows:
72+
profile you should be able to enable the ``bl01t`` environment as follows:
7373

7474
.. code-block:: bash
7575
@@ -97,7 +97,7 @@ IOC Instance.
9797

9898
The following command will deploy the example IOC instance to your local
9999
machine (unless you have skipped ahead and set up your Kubernetes config
100-
in which case the same command will deploy to your Kubernetes cluster).
100+
in which case the same command will deploy to your Kubernetes cluster).
101101

102102
.. code-block:: bash
103103
@@ -158,7 +158,7 @@ Managing the Example IOC Instance
158158
Starting and Stopping IOCs
159159
~~~~~~~~~~~~~~~~~~~~~~~~~~
160160

161-
To stop / start the example IOC try the following commands. Note that
161+
To stop / start the example IOC try the following commands. Note that
162162
``ec ps -a`` shows you all IOCs including stopped ones.
163163

164164
.. code-block:: bash
@@ -183,7 +183,7 @@ To stop / start the example IOC try the following commands. Note that
183183
Monitoring and interacting with an IOC shell
184184
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
185185

186-
To attach to the ioc shell you can use the following command. HOWEVER, this
186+
To attach to the IOC shell you can use the following command. HOWEVER, this
187187
will attach you to nothing in the case of this example IOC as it has no
188188
shell. In the next tutorial we will use this command to interact with
189189
iocShell.

docs/user/tutorials/dev_container.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ See ``/epics/ioc-adsimdetector/ioc/iocApp/src/Makefile``
188188

189189
You will note that the ``ioc`` folder is greyed out in the VSCode explorer. This
190190
is because it is in ``.gitignore`` and it is purely generated code. If you
191-
particularly needed to customize the contents of the ioc source tree then
191+
particularly needed to customize the contents of the IOC source tree then
192192
you can remove it from ``.gitignore`` and commit your changes to the repo. These
193193
changes would then always get loaded for every instance of the Generic IOC.
194194

@@ -217,7 +217,7 @@ multiple peer projects.
217217

218218
In VSCode click the ``File`` menu and select ``Add Folder to Workspace``.
219219
Navigate to ``/repos`` and you will see all the peers of your ``ioc-adsimdetector``
220-
folder (see `container-layout` below) . Choose the ``bl01t`` folder and add it to the
220+
folder (see `container-layout` below). Choose the ``bl01t`` folder and add it to the
221221
workspace - you may see an error but if so clicking "reload window" will
222222
clear it.
223223

@@ -230,8 +230,8 @@ Also take this opportunity to add the folder ``/epics`` to the workspace.
230230
and git will complain about ownership. You can cancel out of these errors
231231
as you should not edit project folders inside of ``/epics`` - they were
232232
built by the container and should be considered immutable. We will learn
233-
how to work on support modules in later tuorials. This error should only
234-
be seen on first launch. podman users will have no such problem becuase they
233+
how to work on support modules in later tutorials. This error should only
234+
be seen on first launch. podman users will have no such problem because they
235235
will be root inside the container and root build the container.
236236

237237
You can now easily browse around the ``/epics`` folder and see all the

docs/user/tutorials/generic_ioc.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ test our changes locally before deploying it.
1111
This is a type 2. change from the list at `ioc_change_types`.
1212

1313
The example IOC used ADSimDetector, we will make a similar IOC that uses
14-
ADUrl to get images from a web cam.
14+
ADUrl to get images from a webcam.
1515

1616
Create a New Generic IOC project
1717
--------------------------------
@@ -49,7 +49,7 @@ using an ``ec`` command.
4949
From the VSCode menus: File->Add Folder to Workspace
5050
then select the folder ioc-adurl
5151

52-
#. Push the repo back to a the new repo on github
52+
#. Push the repo back to a new repo on github
5353

5454
.. code-block:: bash
5555

docs/user/tutorials/ibek.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,20 +42,20 @@ ibek-support
4242
can be found and how to build it.
4343
- exists to avoid duplication of support module definitions in Generic IOCs
4444
- and to avoid working on multiple support modules while kicking off epics-containers
45-
- the ibek-support repo is added as a git-submodule to every Generic ioc
46-
(ioc-xxx) repo and in this ensures that a rebuild of a Generic ioc will be
45+
- the ibek-support repo is added as a git-submodule to every Generic IOC
46+
(ioc-xxx) repo and in this ensures that a rebuild of a Generic IOC will be
4747
with a consistent set of YAML files and install.sh files until a developer
4848
explicitly updates the submodule.
4949

5050
How to work on ibek-support
5151
---------------------------
5252

53-
Building a new Generic ioc and making it compatible with ibek means creating
53+
Building a new Generic IOC and making it compatible with ibek means creating
5454
ibek support YAML for all of its dependent support modules
5555
(where they do not already exist)
5656

57-
These steps assume you have a Generic ioc for ADUrl based on ioc_template as discussed in `generic_ioc`.
58-
Your Generic ioc has a default ioc instance used for testing.
57+
These steps assume you have a Generic IOC for ADUrl based on ioc_template as discussed in `generic_ioc`.
58+
Your Generic IOC has a default IOC instance used for testing.
5959
In ioc/config/st.cmd we have a default startup script for the example IOC.
6060
To work on ibek support we will remove this file and replace it with ``ioc.yaml``.
6161
We already have a git submodule for ibek-defs which we used for accessing patch files
@@ -64,7 +64,7 @@ during build, this will also be used for creating and editing support yaml files
6464
TODO: this will become a concrete example for walking through as a tutorial with ioc-adurl.
6565

6666
NOTE: these steps are for building and testing the example IOC that comes with
67-
the Generic ioc template. This will break the system test and that would need
67+
the Generic IOC template. This will break the system test and that would need
6868
to be updated accordingly. To just work on ibek support files using an external
6969
ioc instance YAML file see `../how-to/ibek-support` (I probably need to combine
7070
these two pages into something coherent).
@@ -78,7 +78,7 @@ STEPS:
7878
- cd ..
7979
- add useful yaml definitions to ibek-defs/<a support module>/<a support module>.yaml
8080
- add some entities that use those definitions to ioc/config/ioc.yaml
81-
- TODO need to make dev launch mount ioc folder into the container - avoiding build step and giving us a tight inner dev loop
81+
- TODO need to make dev launch mount IOC folder into the container - avoiding build step and giving us a tight inner dev loop
8282
- (whereas dev ioc-launch mounts in the config of an IOC instance - MAYBE this is confusing or these commands need better names?)
8383
- ec dev build
8484
- ec dev launch

0 commit comments

Comments
 (0)