Skip to content

Commit 5b94bbf

Browse files
committed
docs: Fixed typos in compile-examples and arduino-ci docs.
Signed-off-by: jaenrig-ifx <[email protected]>
1 parent 3a73701 commit 5b94bbf

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

docs/compile-examples/description.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ specifications to auto-discover the available boards and examples available in t
1717

1818
The default auto-discovery matrix can be customized to consider exceptions via configuration YAML files.
1919

20-
It also supports the installation of the tools and source dependencies for multiple operating systems required to compile the sketches for the selected boards.
20+
It also supports the installation of the tools and source dependencies for multiple operating systems, which are necessary for compiling the sketches for the selected boards.
2121

2222
Implementation details
2323
^^^^^^^^^^^^^^^^^^^^^^

docs/compile-examples/getting-started.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,16 @@
33
Getting started
44
----------------
55

6-
This section will guide your through the steps to setup the compile examples workflow in your repository.
6+
This section will guide you through the steps to setup the compile examples workflow in your repository.
77

88
Prerequisites
99
^^^^^^^^^^^^^^
1010

1111
Before you start, make sure you satisfy the following prerequisites:
1212

1313
- Your Arduino asset (library or core) is hosted in a GitHub repository.
14-
- GitHub Actions enabled in your repository. Check the `GitHub docs <https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#managing-github-actions-permissions-for-your-repository>`_ to learn how to enable it.
15-
- If your asset is an Arduino core, first you need to `configure the repository <df>`_ to be able generate the core package with the ``core-packager.py`` tool.
14+
- GitHub Actions is enabled in your repository. Check the `GitHub docs <https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository#managing-github-actions-permissions-for-your-repository>`_ to learn how to enable it.
15+
- If your asset is an Arduino core, first you need to `configure the repository <df>`_ to be able to generate the core package with the ``core-packager.py`` tool.
1616

1717
Enabling the reusable workflow
1818
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -51,7 +51,7 @@ Now, you can go to the ``Actions`` tab of your repository in GitHub and see the
5151

5252
If your asset is an **Arduino core**, the workflow will compile all the available examples from the built-in libraries against each of the boards in the `board.txt <https://docs.arduino.cc/arduino-cli/platform-specification/#boardstxt>`_ file.
5353

54-
In the case of **Arduino libraries**, the workflow will to compile all the examples available in the ``examples`` directory for the default set of boards defined
54+
In the case of **Arduino libraries**, the workflow will compile all the examples available in the ``examples`` directory for the default set of boards defined
5555
in the file: `config/ci-config-matrix-ifx-lib.yml <https://github.com/Infineon/arduino-devops/blob/main/config/ci-config-matrix-ifx-lib.yml>`_.
5656

5757

docs/scripts/arduino-ci.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@ Otherwise, you can specify the file by using the flag ``-c``, ``--ci-matrix-yml`
2323
2424
python arduino-devops/arduino-ci.py <command> -c path/to/ci-matrix-config.yml
2525
26-
When calling the tool, it will consider the current path the root path of the Arduino asset.
27-
Otherwise, you will need to specify the root path of the asset by using the flag ``-r``, ``--root-path`` followed by the path to the root of the asset:
26+
The script needs to know the root path of the asset to be able to discover the boards and examples.
27+
Unless specified, the root path will be the current working directory from which the script is executed.
28+
Otherwise, you will need to specify the root path of the asset by using the flag ``-r``, ``--root-path`` followed by the path to the asset's root directory:
2829

2930
.. code:: bash
3031
@@ -42,7 +43,7 @@ config
4243
Shows and queries the ci configuration matrix. This command is helpful within CI/CD workflows in the creation of parallel jobs
4344
for the compilation of the sketches and boards matrix.
4445

45-
It support the following output formats:
46+
It supports the following output formats:
4647

4748
- JSON (``--json`` or ``--json-pretty``)
4849
- YAML (``--yaml``) .
@@ -113,7 +114,7 @@ Or we can compile all the relevant sketches for a given board by using the ``--f
113114
core-install
114115
------------
115116

116-
In case of Arduino libraries, before being able to compile the matrix, you will need to have the package cores of each of the matrix boards installed.
117+
To compile the matrix for Arduino libraries, you must first install the package cores for each board in the matrix.
117118

118119
The following command will take care of the installation of all the required package cores:
119120

@@ -215,7 +216,7 @@ The yaml file uses the following keys:
215216
and these particular values are "not discoverable".
216217

217218
The allowed keys are ``fqbn`` and ``sketch``.
218-
The value formats allowed are the same as the root node keys.
219+
The value formats allowed are the same as the root `node <https://yaml.org/spec/1.2.2/#nodes>`_ keys (``fqbn`` and ``sketch`` as primary keys in the YAML file).
219220
But in this case, the value can be a list (of scalars) or a scalar.
220221

221222
Example:
@@ -246,12 +247,12 @@ The yaml file uses the following keys:
246247

247248
- Single keys:
248249
A dictionary with either ``fqbn`` or ``sketch`` key. The
249-
values will them be then (if present) removed from the default matrix key.
250+
values will be (if present) removed from the default matrix key.
250251
This is mainly useful when the main matrix is automatically discovered,
251-
and a one particular value is not (momentarily?) compatible for some reason.
252+
and a particular value is not compatible for some reason.
252253

253254
The allowed keys are ``fqbn`` and ``sketch``.
254-
The value formats allowed are the same as the root node keys.
255+
The value formats allowed are the same as the root `node <https://yaml.org/spec/1.2.2/#nodes>`_ keys (``fqbn`` and ``sketch`` as primary keys in the YAML file).
255256
But in this case, the value can be a list (of scalars) or a scalar.
256257

257258
Example:

0 commit comments

Comments
 (0)