Skip to content

Commit

Permalink
Use backslash for BLE link and fix redirects (#490)
Browse files Browse the repository at this point in the history
  • Loading branch information
tcamise-gpsw authored Feb 23, 2024
1 parent 4ab7114 commit 10c3804
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/_data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ main:
- title: 'Home'
url: /
- title: 'BLE Spec'
url: /ble
url: /ble/
- title: 'HTTP Spec'
url: /http
- title: 'Tutorials'
Expand Down
27 changes: 19 additions & 8 deletions docs/ble_2_0.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
<!-- Keep these to redirect links that existed before the BLE rearchitecture -->

<!DOCTYPE html>
<html>
<html lang="en-US">
<head>
<title>Open GoPro BLE specs</title>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="3; URL=https://gopro.github.io/OpenGoPro/ble/index.html" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="utf-8" />
<title>Redirecting…</title>
<link rel="canonical" href="https://gopro.github.io/OpenGoPro/ble/index.html" />
<script>
location = 'https://gopro.github.io/OpenGoPro/ble/index.html';
</script>
<meta
http-equiv="refresh"
content="0; url=https://gopro.github.io/OpenGoPro/ble/index.html"
/>
<meta name="robots" content="noindex" />
</head>
<body>
<p>
This page has been moved. If you are not redirected within 3 seconds, click
<a href="https://gopro.github.io/OpenGoPro/ble/index.html">here</a>.
</p>
<h1>Redirecting…</h1>
<a href="https://gopro.github.io/OpenGoPro/ble/index.html"
>Click here if you are not redirected.</a
>
</body>
</html>
27 changes: 19 additions & 8 deletions docs/http_2_0.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,25 @@
<!-- Keep these to redirect links that existed before the BLE rearchitecture -->

<!DOCTYPE html>
<html>
<html lang="en-US">
<head>
<title>Open GoPro HTTP specs</title>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="3; URL=https://gopro.github.io/OpenGoPro/http" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="utf-8" />
<title>Redirecting…</title>
<link rel="canonical" href="https://gopro.github.io/OpenGoPro/http" />
<script>
location = 'https://gopro.github.io/OpenGoPro/http';
</script>
<meta
http-equiv="refresh"
content="0; url=https://gopro.github.io/OpenGoPro/http"
/>
<meta name="robots" content="noindex" />
</head>
<body>
<p>
This page has been moved. If you are not redirected within 3 seconds, click
<a href="https://gopro.github.io/OpenGoPro/http">here</a>.
</p>
<h1>Redirecting…</h1>
<a href="https://gopro.github.io/OpenGoPro/http"
>Click here if you are not redirected.</a
>
</body>
</html>

0 comments on commit 10c3804

Please sign in to comment.