Skip to content

Commit

Permalink
Merge pull request #227 from dyte-io/fix-ai
Browse files Browse the repository at this point in the history
fix: migrate links & remove docs ai
  • Loading branch information
vaibhavshn authored Dec 5, 2023
2 parents 523e0e8 + a42f18e commit 3539f91
Show file tree
Hide file tree
Showing 12 changed files with 243 additions and 1,482 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/docsearch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,24 @@ on:
- 'ci/docsearch'
- main
schedule:
- cron: "0 12 * * 1"
- cron: '0 12 * * 1'
jobs:
docsearch:
runs-on: ubuntu-latest
if: github.repository == 'dyte-in/docs'
if: github.repository == 'dyte-io/docs'
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v2

- name: Setup environment
run: |
echo "APPLICATION_ID=$APPLICATION_ID" >> .env
echo "API_KEY=$API_KEY" >> .env
chmod +x ./bin/crawl.sh
env:
APPLICATION_ID: ${{ secrets.ALGOLIA_DOCSEARCH_APP_ID }}
API_KEY: ${{ secrets.ALGOLIA_DOCSEARCH_API_KEY }}
- name: Setup environment
run: |
echo "APPLICATION_ID=$APPLICATION_ID" >> .env
echo "API_KEY=$API_KEY" >> .env
chmod +x ./bin/crawl.sh
env:
APPLICATION_ID: ${{ secrets.ALGOLIA_DOCSEARCH_APP_ID }}
API_KEY: ${{ secrets.ALGOLIA_DOCSEARCH_API_KEY }}

- name: Run docsearch
continue-on-error: true
run: |
./bin/crawl.sh
- name: Run docsearch
continue-on-error: true
run: |
./bin/crawl.sh
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
<br />
<a href="https://app.dyte.io">View Demo</a>
·
<a href="https://github.com/dyte-in/docs/issues">Report Bug</a>
<a href="https://github.com/dyte-io/docs/issues">Report Bug</a>
·
<a href="https://github.com/dyte-in/docs/issues">Request Feature</a>
<a href="https://github.com/dyte-io/docs/issues">Request Feature</a>
</p>
</p>

Expand Down Expand Up @@ -67,7 +67,7 @@ This section describes how you can get our documentation portal up and running o
1. Clone the repo

```sh
git clone https://github.com/dyte-in/docs.git
git clone https://github.com/dyte-io/docs.git
```

2. Install NPM packages
Expand Down Expand Up @@ -131,7 +131,7 @@ const SECTIONS = [
icon: GoIcon,
section: false, // if it shouldn't have a sections menu
},
]
];
```

You'll need to create a GoIcon component too.
Expand All @@ -148,13 +148,13 @@ See [CHANGELOG](./CHANGELOG.md).

## Roadmap

See the [open issues](https://github.com/dyte-in/docs/issues) for a list of proposed features (and known issues).
See the [open issues](https://github.com/dyte-io/docs/issues) for a list of proposed features (and known issues).

<!-- CONTRIBUTING -->

## Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**. Sincere thanks to all our contributors. Thank you, [contributors](https://github.com/dyte-in/docs/graphs/contributors)!
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**. Sincere thanks to all our contributors. Thank you, [contributors](https://github.com/dyte-io/docs/graphs/contributors)!

You are requested to follow the contribution guidelines specified in [CONTRIBUTING.md](./CONTRIBUTING.md) and code of conduct at [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md) while contributing to the project :smile:.

Expand All @@ -178,4 +178,4 @@ Distributed under the Apache License, Version 2.0. See [`LICENSE`](./LICENSE) fo

The names and logos for Dyte are trademarks of Dyte, Inc.

We love open source software! See [our other projects](https://github.com/dyte-in) and [our products](https://dyte.io).
We love open source software! See [our other projects](https://github.com/dyte-io) and [our products](https://dyte.io).
2 changes: 1 addition & 1 deletion docs/guides/capabilities/audio/transcriptionAWS.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,4 @@ To see the support languages, please refer to https://docs.aws.amazon.com/transc

With this, now you would be able to receive the live transcriptions. Feel free to put them in UI as per your need.

If you need a sample of this guide, please refer to https://github.com/dyte-in/aws-transcribe/blob/main/client/demo/index.ts.
If you need a sample of this guide, please refer to https://github.com/dyte-io/aws-transcribe/blob/main/client/demo/index.ts.
6 changes: 3 additions & 3 deletions docs/guides/capabilities/audio/transcriptionGoogle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ For this, we have provided a sample in NodeJS for you to checkout (dyte-io/googl
To use this sample, please clone this using the following command.

```
git clone [email protected]:dyte-in/google-transcription.git
git clone [email protected]:dyte-io/google-transcription.git
```

### 2.1 Environment Setup
Expand Down Expand Up @@ -66,7 +66,7 @@ The HTTP endpoint where this server is accessible will now be called `backend_ur
npm install @dytesdk/google-transcription
```

Source available at (dyte-io/google-transcription)(https://github.com/dyte-in/google-transcription/tree/main/client)
Source available at (dyte-io/google-transcription)(https://github.com/dyte-io/google-transcription/tree/main/client)

### 3.2 Integrate

Expand Down Expand Up @@ -105,4 +105,4 @@ To see the support languages, please refer to
With this, you would now be able to receive the live transcriptions.
Feel free to put them in UI as per your need.

If you need a sample of this guide, please refer to https://github.com/dyte-in/google-transcription/blob/main/client/demo/index.ts
If you need a sample of this guide, please refer to https://github.com/dyte-io/google-transcription/blob/main/client/demo/index.ts
4 changes: 2 additions & 2 deletions docs/ios-core/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ This quickstart shows how to use Dyte's iOS Core SDK to add live video and audio
to your iOS applications.

For getting started quickly, you can use our
[sample code](https://github.com/dyte-in/mobile-core-sample-ios). You can clone
[sample code](https://github.com/dyte-io/mobile-core-sample-ios). You can clone
and run a sample application from the
[iOS Core SDK GitHub repository](https://github.com/dyte-in/mobile-core-sample-ios).
[iOS Core SDK GitHub repository](https://github.com/dyte-io/mobile-core-sample-ios).

## Objective

Expand Down
2 changes: 1 addition & 1 deletion docs/react-native/sample-app.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ sidebar_position: 7
# Sample app

You can check out an example of this integration by cloning our
[React Native example repo](https://github.com/dyte-in/react-native-sample-app).
[React Native example repo](https://github.com/dyte-io/react-native-sample-app).
71 changes: 53 additions & 18 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ const docs = [
/** @type {import('@docusaurus/plugin-content-docs').Options} */
const defaultSettings = {
breadcrumbs: true,
editUrl: 'https://github.com/dyte-in/docs/tree/main/',
editUrl: 'https://github.com/dyte-io/docs/tree/main/',
showLastUpdateTime: true,
sidebarCollapsible: true,
remarkPlugins: [
Expand Down Expand Up @@ -224,58 +224,93 @@ const plugins = [
'@docusaurus/plugin-client-redirects',
{
createRedirects(path) {

if (path.startsWith('/guides/capabilities/chat/export-chat-dump')) {
return ['/capabilities/export-chat-dump']
return ['/capabilities/export-chat-dump'];
}

if (path.startsWith('/guides/capabilities/audio/transcriptions')) {
return ['/guides/capabilities/ai/meeting-transcription']
return ['/guides/capabilities/ai/meeting-transcription'];
}

if (path.startsWith('/guides/capabilities/misc/embed')) {
return ['/guides/capabilities/embed']
return ['/guides/capabilities/embed'];
}

if (path.startsWith('/guides/capabilities/misc/livestreaming-other-platforms')) {
return ['/guides/capabilities/livestreaming-other-platforms']
if (
path.startsWith(
'/guides/capabilities/misc/livestreaming-other-platforms'
)
) {
return ['/guides/capabilities/livestreaming-other-platforms'];
}

if (path.startsWith('/guides/capabilities/video')) {
return ['/guides/capabilities/middleware/add-virtual-background', '/guides/capabilities/customization/add-virtual-background']
return [
'/guides/capabilities/middleware/add-virtual-background',
'/guides/capabilities/customization/add-virtual-background',
];
}

if (path.startsWith('/guides/live-video/concepts')) {
return ['/guides/live-video/concepts-live-video']
return ['/guides/live-video/concepts-live-video'];
}

if (path.startsWith('/guides/voice-conf/concepts')) {
return ['/guides/voice-conf/concepts-voice-conf']
return ['/guides/voice-conf/concepts-voice-conf'];
}

if (path.startsWith('/guides/livestream/concepts')) {
return ['/guides/livestream/concepts-ils']
return ['/guides/livestream/concepts-ils'];
}

if (path.startsWith(''))

if (path.startsWith('/web-core/livestreaming')) {
return [path.replace('/web-core/livestreaming', '/web-core/livestreaming/livestream-apis')];
return [
path.replace(
'/web-core/livestreaming',
'/web-core/livestreaming/livestream-apis'
),
];
}
if (path.startsWith('/rn-core/livestreaming')) {
return [path.replace('/rn-core/livestreaming', '/rn-core/livestreaming/livestream-apis')];
return [
path.replace(
'/rn-core/livestreaming',
'/rn-core/livestreaming/livestream-apis'
),
];
}
if (path.startsWith('/react-web-core/livestreaming')) {
return [path.replace('/react-web-core/livestreaming', '/react-web-core/livestreaming/livestream-apis')];
return [
path.replace(
'/react-web-core/livestreaming',
'/react-web-core/livestreaming/livestream-apis'
),
];
}
if (path.startsWith('/web-core/stage')) {
return [path.replace('/web-core/stage', '/web-core/livestreaming/state-management-apis')];
return [
path.replace(
'/web-core/stage',
'/web-core/livestreaming/state-management-apis'
),
];
}
if (path.startsWith('/rn-core/stage')) {
return [path.replace('/rn-core/stage', '/rn-core/livestreaming/state-management-apis')];
return [
path.replace(
'/rn-core/stage',
'/rn-core/livestreaming/state-management-apis'
),
];
}
if (path.startsWith('/react-web-core/stage')) {
return [path.replace('/react-web-core/stage', '/react-web-core/livestreaming/state-management-apis')];
return [
path.replace(
'/react-web-core/stage',
'/react-web-core/livestreaming/state-management-apis'
),
];
}
if (path.startsWith('/guides/capabilities/webhooks')) {
return [
Expand Down
Loading

0 comments on commit 3539f91

Please sign in to comment.