Skip to content

Development fix redirects #1122

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,12 @@ jobs:
- checkout
- setup_aws_credentials
- write_env_variables
- run:
name: Validate redirects
command: |
if [ -f "$HOME/project/redirects.json" ]; then
python -mjson.tool "$HOME/project/redirects.json" > /dev/null
fi
- run:
name: Validate and build documentation
command: |
Expand Down
12 changes: 6 additions & 6 deletions redirects.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"reference/mesh-tech.html" : "/reference/6LoWPAN-ND-tech.html"
"tools/windows.html" : "tools/installation-and-setup.html"
"tools/macos.html" : "tools/installation-and-setup.html"
"tools/linux.html" : "tools/manual-installation.html"
"tools/after-installation-configuring-mbed-cli.html" : "tools/manual-installation.html"
"tools/reference-working-with-mbed-config.html" : "tools/configuration-options.html"
"reference/mesh-tech.html" : "/reference/6LoWPAN-ND-tech.html",
"tools/windows.html" : "tools/installation-and-setup.html",
"tools/macos.html" : "tools/installation-and-setup.html",
"tools/linux.html" : "tools/manual-installation.html",
"tools/after-installation-configuring-mbed-cli.html" : "tools/manual-installation.html",
"tools/reference-working-with-mbed-config.html" : "tools/configuration-options.html",
"tutorials/mbed-usb-wav-audio-player.html" : "tutorials/usb-wav-audio-player.html"
}