Skip to content

Commit f726e6c

Browse files
Merge pull request #560 from clearpathrobotics/development
Merge to Production
2 parents 99817ce + b35ae1d commit f726e6c

134 files changed

Lines changed: 12817 additions & 9951 deletions

File tree

Some content is hidden

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

.cspell/clearpath-dictionary.txt

Lines changed: 414 additions & 0 deletions
Large diffs are not rendered by default.

.github/dependabot.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 2
2+
updates:
3+
# Enable version updates for npm
4+
- package-ecosystem: "npm"
5+
directory: "/"
6+
schedule:
7+
interval: "weekly"
8+
open-pull-requests-limit: 10
9+
10+
# Enable version updates for GitHub Actions
11+
- package-ecosystem: "github-actions"
12+
directory: "/"
13+
schedule:
14+
interval: "weekly"

.github/workflows/node.js.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,18 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
node-version: [18.13.0]
17+
node-version: [22.22.0]
1818
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
1919

2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v6
2222
- name: Use Node.js ${{ matrix.node-version }}
23-
uses: actions/setup-node@v3
23+
uses: actions/setup-node@v6
2424
with:
2525
node-version: ${{ matrix.node-version }}
2626
cache: 'npm'
2727
- run: npm ci
28+
- name: Spell Check
29+
run: npm run spellcheck
2830
- run: npm run build --if-present
2931
# - run: npm test

.github/workflows/preview-close.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
steps:
1313
- name: configure AWS credentials
1414
id: creds
15-
uses: aws-actions/configure-aws-credentials@v4
15+
uses: aws-actions/configure-aws-credentials@v6
1616
with:
1717
aws-region: us-east-2
1818
role-to-assume: ${{ secrets.AWS_GITHUB_ACTIONS_ROLE }}

.github/workflows/preview-rc.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
steps:
1515
- name: configure AWS credentials
1616
id: creds
17-
uses: aws-actions/configure-aws-credentials@v4
17+
uses: aws-actions/configure-aws-credentials@v6
1818
with:
1919
aws-region: us-east-2
2020
role-to-assume: ${{ secrets.AWS_GITHUB_ACTIONS_ROLE }}
@@ -47,7 +47,7 @@ jobs:
4747
if: github.event_name == 'delete'
4848
- name: configure AWS credentials
4949
id: creds
50-
uses: aws-actions/configure-aws-credentials@v4
50+
uses: aws-actions/configure-aws-credentials@v6
5151
with:
5252
aws-region: us-east-2
5353
role-to-assume: ${{ secrets.AWS_GITHUB_ACTIONS_ROLE }}

.github/workflows/preview.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- name: configure AWS credentials
1717
id: creds
18-
uses: aws-actions/configure-aws-credentials@v4
18+
uses: aws-actions/configure-aws-credentials@v6
1919
with:
2020
aws-region: us-east-2
2121
role-to-assume: ${{ secrets.AWS_GITHUB_ACTIONS_ROLE }}

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
3. Open the folder
3131
4. In a terminal, navigate to the root of the project folder and run `npm install`
3232
5. Start the local server by running `npm run start`
33-
6. A new tab should open in your prefered web browser once the site is running.
33+
6. A new tab should open in your preferred web browser once the site is running.
3434
Your terminal session should show the port the webpage is running on.
3535
The default address is http://localhost:3000/ but this may change if you are already using that port for another site.
3636
7. If you want to test something on a mobile screensize; you can do this within your desktop's Chrome browser.
@@ -53,7 +53,7 @@
5353
2. Create a branch from development with a name indicating the purpose, such as _feature_xxxxxx_
5454
3. Make changes to the relevant files.
5555
4. Test using your local server, using the steps mentioned [Steps to run this on your computer locally](#steps-to-run-this-on-your-computer-locally)
56-
5. When ready, enter `ctrl-c` in your terminal to stop the server. Then run `npm run build` to test that the site builds corretly.
56+
5. When ready, enter `ctrl-c` in your terminal to stop the server. Then run `npm run build` to test that the site builds correctly.
5757
6. Resolve any errors that the terminal reports, and rerun the command `npm run build`.
5858
7. Finally, check that your updates adhere to our code formatting standard, by running the command `npm run format-check`.
5959
The terminal will either report:
@@ -76,14 +76,18 @@
7676
git config --global core.filemode false
7777
git config --global core.autocrlf false
7878

79-
8. When ready, publish your branch on GitHub, and submit a Pull Request to merge your changes into the _development_ branch.
79+
8. Run the spell checker to catch any spelling errors by running `npm run spellcheck`.
80+
If there are spelling errors, correct them in the source files. If you encounter a valid word that is flagged
81+
(such as a technical term, brand name, or Canadian English spelling), add it to `.cspell/clearpath-dictionary.txt`.
82+
83+
9. When ready, publish your branch on GitHub, and submit a Pull Request to merge your changes into the _development_ branch.
8084
Pull Requests to the _production_ branch will not merged.
8185
Also note that this GitHub repository has branch protection rules, that prevent you from committing directly to _production_ and _development_.
8286
The Pull Request will automatically request reviews from people listed in the codeowners file, but you can also add more reviewers.
8387

8488
<img src="/static/img/readme_images/readme_github_1.png" width="467"/>
8589

86-
9. The administrators of this documentation will review the website for any functional issues,
90+
10. The administrators of this documentation will review the website for any functional issues,
8791
and will periodically merge the latest commits in the _development_ branch into the _production_ branch.
8892

8993
## Workflow for publishing OutdoorNav User Manual updates

components/common_safe_work_procedures.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Clearpath Robotics recommends the following procedures be followed to reduce the
55
- Assert a stop using the remote stop device (if present) before approaching the robot.
66
- Never place the remote stop device (if present) on or inside the robot.
77
- Always be vigilant around the robot, even when a stop is asserted.
8-
- Perform no maintenance or troubleshooting on the robot without training and familiarisation.
8+
- Perform no maintenance or troubleshooting on the robot without training and familiarization.
99
- Follow electrical safety best practices when working with electrical systems and components.
1010
- Disconnect battery using main disconnect of the robot before working inside robot.
1111
- Wear personal protective equipment including high-visibility clothing, head and eye protection while

components/common_wireless_emergency_stop_charging.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This transmitter is part of the _Wireless Emergency Stop_ upgrade kit for Husky.
1616
src="/img/robot_images/common_images/wireless_emergency_stop_charger_charging.png"
1717
width="350"
1818
/>
19-
<figcaption>Wirelesss Emergency Stop Transmitter's Charger</figcaption>
19+
<figcaption>Wireless Emergency Stop Transmitter's Charger</figcaption>
2020
</figure>
2121
</center>
2222

@@ -30,7 +30,7 @@ This transmitter is part of the _Wireless Emergency Stop_ upgrade kit for Husky.
3030
src="/img/robot_images/common_images/wireless_emergency_stop_transmitter_battery_removal_2.png"
3131
width="350"
3232
/>
33-
<figcaption>Removing the Wirelesss Emergency Stop Transmitter's Battery</figcaption>
33+
<figcaption>Removing the Wireless Emergency Stop Transmitter's Battery</figcaption>
3434
</figure>
3535
</center>
3636

components/husky_a300/husky_a300_amp_enclosure.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Admonition from "@theme/Admonition";
55
[//]: <> (TODO, add an image of the enclosure being removed.)
66

77
<details>
8-
<summary>To remove the large electonics enclosure:</summary>
8+
<summary>To remove the large electronics enclosure:</summary>
99

1010
1. Turn off the Husky.
1111
2. Open the _Rear Charge Port Door_.

0 commit comments

Comments
 (0)