From 0058ac6870d83dc497fd61b7f3d09c343c8db162 Mon Sep 17 00:00:00 2001 From: MustafaJafar Date: Fri, 18 Jul 2025 01:42:50 +0300 Subject: [PATCH] Use `/api` instead of `https://playground.ayon.app/doc/api` --- website/docs/dev_api_rest.md | 2 +- website/docusaurus.config.js | 9 ++++++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/website/docs/dev_api_rest.md b/website/docs/dev_api_rest.md index f31fc9aa..5816dae7 100644 --- a/website/docs/dev_api_rest.md +++ b/website/docs/dev_api_rest.md @@ -24,7 +24,7 @@ You access the REST API Docs via `/api` or via help icon. ![](assets/apis_and_resources/rest_api_docs.png) -For instance, you can check the REST API Docs for our Public AYON Server here at [AYON REST API Docs](https://playground.ayon.app/doc/api). +For instance, you can check the REST API Docs for our Public AYON Server here at [AYON REST API Docs](/api). ## Your First AYON API Calls diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 42236bb6..8dbd355e 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -104,9 +104,7 @@ const config = { items: [ { label: "REST API Docs", - href: "https://playground.ayon.app/doc/api", - target: "_blank", - rel: null, + to: "/api", }, { label: "GraphQL API Explorer", @@ -453,6 +451,11 @@ const config = { rel: null, position: "left", }, + { + label: "REST API Docs", + position: "right", + to: "/api", + }, { label: "Addons", position: "right",