Skip to content

Commit 863ac6c

Browse files
React Native connectors (#570)
1 parent 498d0bb commit 863ac6c

25 files changed

Lines changed: 2109 additions & 5 deletions

File tree

.gitmodules

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,26 @@
101101
path = theoplayer_versioned_docs/version-v9/external/iOS-Connector
102102
url = https://github.com/THEOplayer/iOS-Connector.git
103103
branch = 9.x
104+
[submodule "react-native-connectors"]
105+
path = theoplayer/external/react-native-connectors
106+
url = https://github.com/THEOplayer/react-native-connectors.git
107+
branch = main
108+
shallow = true
109+
[submodule "react-native-connectors-v7"]
110+
path = theoplayer_versioned_docs/version-v7/external/react-native-connectors
111+
url = https://github.com/THEOplayer/react-native-connectors.git
112+
branch = main
113+
shallow = true
114+
[submodule "react-native-connectors-v8"]
115+
path = theoplayer_versioned_docs/version-v8/external/react-native-connectors
116+
url = https://github.com/THEOplayer/react-native-connectors.git
117+
branch = main
118+
shallow = true
119+
[submodule "react-native-connectors-v9"]
120+
path = theoplayer_versioned_docs/version-v9/external/react-native-connectors
121+
url = https://github.com/THEOplayer/react-native-connectors.git
122+
branch = main
123+
shallow = true
104124
[submodule "web-ui"]
105125
path = open-video-ui/external/web-ui
106126
url = https://github.com/THEOplayer/web-ui.git
@@ -112,4 +132,4 @@
112132
[submodule "react-native-theoplayer-ui"]
113133
path = open-video-ui/external/react-native-theoplayer-ui
114134
url = https://github.com/THEOplayer/react-native-theoplayer-ui.git
115-
branch = main
135+
branch = main

docusaurus.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ const docsConfigBase = {
3636
'external/android-connector/connectors/uplynk/docs/*.md',
3737
'external/iOS-Connector/Code/**/README.md',
3838
'external/iOS-Connector/Code/Uplynk/docs/*.md',
39+
'external/react-native-connectors/*/README.md',
40+
'external/react-native-connectors/*/CHANGELOG.md',
3941
'external/flutter-theoplayer-sdk/flutter_theoplayer_sdk/{CHANGELOG,README}.md',
4042
'external/flutter-theoplayer-sdk/flutter_theoplayer_sdk/flutter_theoplayer_sdk/{CHANGELOG,README}.md',
4143
'external/*/{doc,docs}/**/*.{md,mdx}',
@@ -463,6 +465,9 @@ const config: Config = {
463465
.replace('flutter-theoplayer-sdk/doc/', '/flutter/guides/')
464466
.replace('react-native-theoplayer-ui/CHANGELOG', '/react-native/changelog')
465467
.replace('react-native-theoplayer-ui/doc/', '/react-native/')
468+
.replace(/react-native-connectors\/([^/]+)\/CHANGELOG/, '/connectors/react-native/$1/changelog')
469+
.replace(/react-native-connectors\/([^/]+)\/README/, '/connectors/react-native/$1/getting-started')
470+
.replace(/react-native-connectors\/([^/]+)\/doc\//, '/connectors/react-native/$1/')
466471
.replace(/web-connectors\/([^/]+)\/CHANGELOG/, '/connectors/web/$1/changelog')
467472
.replace(/web-connectors\/([^/]+)\/README/, '/connectors/web/$1/getting-started')
468473
.replace(/web-connectors\/([^/]+)\/doc\//, '/connectors/web/$1/')

0 commit comments

Comments
 (0)