Skip to content

Commit

Permalink
Merge pull request #160 from ahmed-deriv/ahmed/DAPI-801/fix--canonica…
Browse files Browse the repository at this point in the history
…l-tag-url-update

ahmed/DAPI-801/fix--canonical-tag-url-update
  • Loading branch information
shafin-deriv authored Oct 28, 2024
2 parents 462f99e + 8ebc564 commit efa0df4
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/_client-libraries/python/project-setup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_label: Setup
sidebar_position: 0
---

Please check the library documentations [here](https://binary-com.github.io/python-deriv-api/)
Please check the library documentations [here](https://deriv-com.github.io/python-deriv-api/)

:::caution
We're gonna update these pages in the future when we have content for them
Expand Down
2 changes: 1 addition & 1 deletion docs/_client-libraries/typescript/project-setup/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_label: Setup
sidebar_position: 0
---

Please check the library documentations [here](https://binary-com.github.io/deriv-api/)
Please check the library documentations [here](https://deriv-com.github.io/deriv-api/)

:::caution
We're gonna update these pages in the future when we have content for them
Expand Down
4 changes: 2 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ const darkTheme = themes.vsDark;
const config = {
title: 'Deriv API',
tagline: 'Create your own apps',
url: 'https://binary-com.github.io',
url: 'https://api.deriv.com',
baseUrl: '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.png',
// GitHub pages deployment config.
// If you aren't using GitHub pages, you don't need these.
organizationName: 'binary-com', // Usually your GitHub org/user name.
organizationName: 'deriv-com', // Usually your GitHub org/user name.
projectName: 'deriv-api-docs', // Usually your repo name.

customFields: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_label: Configuration
sidebar_position: 0
---

Veuillez consulter la documentation de la bibliothèque [ici] (https://binary-com.github.io/python-deriv-api/)
Veuillez consulter la documentation de la bibliothèque [ici] (https://deriv-com.github.io/python-deriv-api/)

:::caution
Nous mettrons ces pages à jour à l'avenir lorsque nous aurons du contenu à leur proposer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ sidebar_label: Configuration
sidebar_position: 0
---

Veuillez consulter la documentation de la bibliothèque [ici] (https://binary-com.github.io/deriv-api/)
Veuillez consulter la documentation de la bibliothèque [ici] (https://deriv-com.github.io/deriv-api/)

:::caution
Nous mettrons ces pages à jour à l'avenir lorsque nous aurons du contenu à leur proposer.
Expand Down
2 changes: 1 addition & 1 deletion src/components/SandboxIframe/utility/sandboxes.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const sandbox_url =
'https://codesandbox.io/embed/github/binary-com/deriv-api-docs/tree/master/examples/';
'https://codesandbox.io/embed/github/deriv-com/deriv-api-docs/tree/master/examples/';

export const sandboxes = {
auth: `${sandbox_url}auth`,
Expand Down
2 changes: 1 addition & 1 deletion src/configs/cms/backend.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { CmsBackend } from 'netlify-cms-core';

const cms_backend: CmsBackend = {
name: 'github',
repo: 'binary-com/deriv-api-docs',
repo: 'deriv-com/deriv-api-docs',
branch: 'master',
base_url: 'https://deriv-cms-external-oauth.binary.sx',
auth_endpoint: 'api/begin',
Expand Down
2 changes: 1 addition & 1 deletion src/configs/cms/eventlisteners/blog.presave.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const blog_presave_listener: CmsEventListener = {
const github_user = JSON.parse(localStorage.getItem(GITHUB_USER_KEY));
const github_username = github_user?.name ?? github_user?.login ?? 'Deriv User';

const github_url = github_user?.html_url ?? 'https://github.com/binary-com';
const github_url = github_user?.html_url ?? 'https://github.com/deriv-com';

const avatar_url =
github_user?.avatar_url ?? 'https://avatars.githubusercontent.com/u/93753441?v=4';
Expand Down
2 changes: 1 addition & 1 deletion src/features/Home/ClientLibraries/ClientLibraries.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const ClientLibraries = () => {
<div className={styles.LogoAndLink}>
<a
className={styles.LibraryGoTo}
href='https://binary-com.github.io/python-deriv-api/'
href='https://deriv-com.github.io/python-deriv-api/'
rel='noreferrer'
target='_blank'
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('ClientLibraries', () => {
);
expect(screen.getByText('Go to the Python library').closest('a')).toHaveAttribute(
'href',
'https://binary-com.github.io/python-deriv-api/',
'https://deriv-com.github.io/python-deriv-api/',
);
expect(screen.getByText('Go to the Flutter library').closest('a')).toHaveAttribute(
'href',
Expand Down

0 comments on commit efa0df4

Please sign in to comment.