From 8551ab20e0f0d96c8b4a6be5e92a20dfedcf862c Mon Sep 17 00:00:00 2001 From: ranuka-laksika Date: Mon, 10 Nov 2025 08:21:56 +0000 Subject: [PATCH 1/2] Fix: Update service catalog documentation link to latest version - Updated docUrl from version 4.6.0 to latest in settings.json - Changed documentation path to include 'manage-apis' prefix - Fixed line length linting issue by splitting long URL string - Documentation now points to: https://apim.docs.wso2.com/en/latest/manage-apis/design/create-api/create-an-api-using-a-service/ --- .../publisher/src/main/webapp/site/public/conf/settings.json | 2 +- .../src/app/components/ServiceCatalog/Listing/Onboarding.jsx | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/portals/publisher/src/main/webapp/site/public/conf/settings.json b/portals/publisher/src/main/webapp/site/public/conf/settings.json index b0a90dc6596..95f640ce74d 100644 --- a/portals/publisher/src/main/webapp/site/public/conf/settings.json +++ b/portals/publisher/src/main/webapp/site/public/conf/settings.json @@ -42,7 +42,7 @@ }, "loadDefaultLocales": false, "supportedDocTypes": "application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/msword, application/pdf, text/plain, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.oasis.opendocument.text, application/vnd.oasis.opendocument.spreadsheet, application/json, application/x-yaml, .yaml, .md", - "docUrl": "https://apim.docs.wso2.com/en/4.6.0/", + "docUrl": "https://apim.docs.wso2.com/en/latest/", "environmentsPolling": { "maxDurationMs": 120000, "intervalMs": 3000 diff --git a/portals/publisher/src/main/webapp/source/src/app/components/ServiceCatalog/Listing/Onboarding.jsx b/portals/publisher/src/main/webapp/source/src/app/components/ServiceCatalog/Listing/Onboarding.jsx index 8f3282de7a6..b57374e6db9 100644 --- a/portals/publisher/src/main/webapp/source/src/app/components/ServiceCatalog/Listing/Onboarding.jsx +++ b/portals/publisher/src/main/webapp/source/src/app/components/ServiceCatalog/Listing/Onboarding.jsx @@ -116,7 +116,8 @@ function Onboarding() { size='large' variant='outlined' color='primary' - href={Configurations.app.docUrl + 'design/create-api/create-an-api-using-a-service/'} + href={Configurations.app.docUrl + + 'manage-apis/design/create-api/create-an-api-using-a-service/'} target='_blank' rel='noopener noreferrer' endIcon={} From 9781d452765762211426bd0b9aff07c08c59fad5 Mon Sep 17 00:00:00 2001 From: ranuka-laksika Date: Mon, 17 Nov 2025 14:26:44 +0530 Subject: [PATCH 2/2] Changed latest to 4.6.0 --- .../publisher/src/main/webapp/site/public/conf/settings.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/portals/publisher/src/main/webapp/site/public/conf/settings.json b/portals/publisher/src/main/webapp/site/public/conf/settings.json index 95f640ce74d..b0a90dc6596 100644 --- a/portals/publisher/src/main/webapp/site/public/conf/settings.json +++ b/portals/publisher/src/main/webapp/site/public/conf/settings.json @@ -42,7 +42,7 @@ }, "loadDefaultLocales": false, "supportedDocTypes": "application/vnd.openxmlformats-officedocument.wordprocessingml.document, application/msword, application/pdf, text/plain, application/vnd.ms-excel, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet, application/vnd.oasis.opendocument.text, application/vnd.oasis.opendocument.spreadsheet, application/json, application/x-yaml, .yaml, .md", - "docUrl": "https://apim.docs.wso2.com/en/latest/", + "docUrl": "https://apim.docs.wso2.com/en/4.6.0/", "environmentsPolling": { "maxDurationMs": 120000, "intervalMs": 3000