Skip to content

Commit eb9e9ac

Browse files
authored
Merge pull request #1122 from ARMmbed/development-fix-redirects
Development fix redirects
2 parents 4835bd3 + 4f6ef85 commit eb9e9ac

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

.circleci/config.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ jobs:
3939
- checkout
4040
- setup_aws_credentials
4141
- write_env_variables
42+
- run:
43+
name: Validate redirects
44+
command: |
45+
if [ -f "$HOME/project/redirects.json" ]; then
46+
python -mjson.tool "$HOME/project/redirects.json" > /dev/null
47+
fi
4248
- run:
4349
name: Validate and build documentation
4450
command: |

redirects.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
{
2-
"reference/mesh-tech.html" : "/reference/6LoWPAN-ND-tech.html"
3-
"tools/windows.html" : "tools/installation-and-setup.html"
4-
"tools/macos.html" : "tools/installation-and-setup.html"
5-
"tools/linux.html" : "tools/manual-installation.html"
6-
"tools/after-installation-configuring-mbed-cli.html" : "tools/manual-installation.html"
7-
"tools/reference-working-with-mbed-config.html" : "tools/configuration-options.html"
2+
"reference/mesh-tech.html" : "/reference/6LoWPAN-ND-tech.html",
3+
"tools/windows.html" : "tools/installation-and-setup.html",
4+
"tools/macos.html" : "tools/installation-and-setup.html",
5+
"tools/linux.html" : "tools/manual-installation.html",
6+
"tools/after-installation-configuring-mbed-cli.html" : "tools/manual-installation.html",
7+
"tools/reference-working-with-mbed-config.html" : "tools/configuration-options.html",
88
"tutorials/mbed-usb-wav-audio-player.html" : "tutorials/usb-wav-audio-player.html"
99
}

0 commit comments

Comments
 (0)