Skip to content

Commit

Permalink
Use redirect pages for API references
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Feb 26, 2024
1 parent da4d8e8 commit f8717ac
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sidebarsTheoplayer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ const sidebars: SidebarsConfig = {
{
type: 'link',
label: 'Web',
href: 'https://docs.theoplayer.com/api-reference/web/theoplayer.md',
href: 'pathname:///theoplayer/v6/api-reference/web/',
},
{
type: 'link',
label: 'Android',
href: 'https://docs.theoplayer.com/api-reference/android/index.html',
href: 'pathname:///theoplayer/v6/api-reference/android/',
},
{
type: 'link',
label: 'iOS',
href: 'https://docs.theoplayer.com/api-reference/ios/index.html',
href: 'pathname:///theoplayer/v6/api-reference/ios/',
},
],
},
Expand Down
11 changes: 11 additions & 0 deletions theoplayer/static/theoplayer/v6/api-reference/android/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>THEOplayer Android SDK API Reference</title>
<meta http-equiv="refresh" content="0; url=https://docs.theoplayer.com/api-reference/android/" />
</head>
<body>
Redirecting to <a href="https://docs.theoplayer.com/api-reference/android/">docs.theoplayer.com</a>...
</body>
</html>
11 changes: 11 additions & 0 deletions theoplayer/static/theoplayer/v6/api-reference/ios/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>THEOplayer iOS SDK API Reference</title>
<meta http-equiv="refresh" content="0; url=https://docs.theoplayer.com/api-reference/ios/" />
</head>
<body>
Redirecting to <a href="https://docs.theoplayer.com/api-reference/ios/">docs.theoplayer.com</a>...
</body>
</html>
11 changes: 11 additions & 0 deletions theoplayer/static/theoplayer/v6/api-reference/web/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>THEOplayer Web SDK API Reference</title>
<meta http-equiv="refresh" content="0; url=https://docs.theoplayer.com/api-reference/web/theoplayer.md" />
</head>
<body>
Redirecting to <a href="https://docs.theoplayer.com/api-reference/web/theoplayer.md">docs.theoplayer.com</a>...
</body>
</html>

0 comments on commit f8717ac

Please sign in to comment.