From cdf3cf253463736c92eed6b0e62dae16cc8d03db Mon Sep 17 00:00:00 2001 From: muhammad-ahmed Date: Tue, 29 Oct 2024 14:40:57 +0800 Subject: [PATCH] ahmed/DAPI-782/feat-change-documentation-url --- docusaurus.config.js | 10 +++++----- src/components/Footer/index.tsx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index fbd36040..b834ff10 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -101,15 +101,15 @@ const config = { }, items: [ { - type: 'doc', - docId: 'intro', + to: 'api-explorer', position: 'left', - label: 'Documentation', + label: 'API explorer', }, { - to: 'api-explorer', + to: 'https://developers.deriv.com', + label: 'Documentation', position: 'left', - label: 'API explorer', + className: 'external-nav-link', }, { to: 'https://tech.deriv.com/', diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx index 720a343a..91cba456 100644 --- a/src/components/Footer/index.tsx +++ b/src/components/Footer/index.tsx @@ -27,9 +27,9 @@ const Footer = () => { root: get_url(''), who_we_are: get_url('who-we-are'), contact_us: get_url('contact-us'), - documentation: get_url('docs/intro', false), dashboard: get_url('dashboard', false), api_explorer: get_url('api-explorer', false), + documentation: 'https://developers.deriv.com', }; }, [currentLocale]);