Skip to content

Commit

Permalink
Update the help urls to prevent outdated redirections
Browse files Browse the repository at this point in the history
  • Loading branch information
Piumal1999 committed Oct 23, 2024
1 parent a075db3 commit dfa47ce
Show file tree
Hide file tree
Showing 21 changed files with 48 additions and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ export default function ListApiCategories() {
target='_blank'
href={
Configurations.app.docUrl
+ 'develop/customizations/customizing-the-developer-portal/customize-api-listing/'
+ 'api-category-based-grouping/'
+ 'reference/customize-product/customizations/customizing-the-developer-portal/'
+ 'customize-api-listing/api-category-based-grouping/'
}
underline='hover'
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ export default function APICategoriesCard() {
rel='noopener noreferrer'
target='_blank'
href={Configurations.app.docUrl
+ 'develop/customizations/customizing-the-developer-portal/'
+ 'customize-api-listing/categorizing-and-grouping-apis/'
+ 'api-category-based-grouping'}
+ 'reference/customize-product/customizations/customizing-the-developer-portal/'
+ 'customize-api-listing/api-category-based-grouping'}
>
<FormattedMessage
id='Dashboard.apiCategories.noApiCategories.card.document.link.text'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,9 @@ function UploadTheme() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'develop/customizations/customizing-the-developer-portal/overriding-developer-portal-theme/#tenant-theming'}
+ 'reference/customize-product/customizations/'
+ 'customizing-the-developer-portal/'
+ 'overriding-developer-portal-theme/#tenant-theming'}
underline='hover'
>
<ListItemText primary={(
Expand Down Expand Up @@ -293,7 +295,8 @@ function UploadTheme() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'develop/customizations/customizing-the-developer-portal/overriding-developer-portal-theme/#tenant-theming'}
+ 'reference/customize-product/customizations/customizing-the-developer-portal/'
+ 'overriding-developer-portal-theme/#tenant-theming'}
underline='hover'
>
{' '}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@ export default function HelpLinks() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/rate-limiting/'
+ 'introducing-throttling-use-cases/'}
+ 'design/rate-limiting/introducing-throttling-use-cases/'}
underline='hover'
>
<ListItemText primary={(
Expand All @@ -62,8 +61,8 @@ export default function HelpLinks() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/rate-limiting/adding-new-throttling-policies/'
+ '#adding-a-new-advanced-throttling-policy'}
+ 'design/rate-limiting/adding-new-throttling-policies/'
+ '#adding-a-new-advanced-throttling-policy'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ export default function ListApplicationThrottlingPolicies() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/rate-limiting/adding-new-throttling-policies/#adding-a-new-application-level-throttling-tier'}
+ 'design/rate-limiting/adding-new-throttling-policies/'
+ '#adding-a-new-application-level-throttling-tier'}
underline='hover'
>
<ListItemText primary={(
Expand All @@ -90,7 +91,8 @@ export default function ListApplicationThrottlingPolicies() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/rate-limiting/setting-throttling-limits/#application-level-throttling-application-developer'}
+ 'design/rate-limiting/setting-throttling-limits/'
+ '#application-level-throttling-application-developer'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export default function ListBlacklistThrottlingPolicies() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/rate-limiting/access-control/#denying-requests'}
+ 'design/rate-limiting/access-control/#denying-requests'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export default function ListCustomThrottlingPolicies() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/rate-limiting/advanced-topics/custom-throttling/'}
+ 'design/rate-limiting/advanced-topics/custom-throttling/'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ export default function ListSubscriptionThrottlingPolicies() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/rate-limiting/adding-new-throttling-policies/#adding-a-new-subscription-level-throttling-tier'}
+ 'design/rate-limiting/adding-new-throttling-policies/'
+ '#adding-a-new-subscription-level-throttling-tier'}
underline='hover'
>
<ListItemText primary={(
Expand All @@ -98,7 +99,8 @@ export default function ListSubscriptionThrottlingPolicies() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/rate-limiting/setting-throttling-limits/#subscription-level-throttling-api-publisher'}
+ 'design/rate-limiting/setting-throttling-limits/'
+ '#subscription-level-throttling-api-publisher'}
underline='hover'
>
<ListItemText primary={(
Expand All @@ -118,7 +120,8 @@ export default function ListSubscriptionThrottlingPolicies() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/rate-limiting/setting-throttling-limits/#subscription-level-throttling-api-subscriber'}
+ 'design/rate-limiting/setting-throttling-limits/'
+ '#subscription-level-throttling-api-subscriber'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ function ListLabels() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'deploy-and-publish/deploy-on-gateway/deploy-api/revision-deployment-workflow'}
+ 'deploy-and-publish/deploy-on-gateway/deploy-api/revision-deployment-workflow'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,8 @@ function ListLabels(props) {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/design-api/advanced-topics/adding-an-api-'
+ 'state-change-workflow/#adding-an-api-state-change-workflow'}
+ 'design/advanced-topics/adding-an-api-state-change-workflow/'
+ '#adding-an-api-state-change-workflow'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ function ListLabels() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/consume-api/manage-application/advanced-topics/'
+ 'adding-an-application-creation-workflow/#adding-an-application-creation-workflow'}
+ 'consume/manage-application/advanced-topics/'
+ 'adding-an-application-creation-workflow/#adding-an-application-creation-workflow'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ function ListLabels() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/consume-api/manage-application/advanced-topics/'
+ 'adding-an-application-creation-workflow/#adding-an-application-creation-workflow'}
+ 'consume/manage-application/advanced-topics/'
+ 'adding-an-application-creation-workflow/#adding-an-application-creation-workflow'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,9 @@ function ListLabels() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/consume-api/manage-application/advanced-topics/adding-an-application-'
+ 'key-generation-workflow/#adding-an-application-key-generation-workflow'}
+ 'consume/manage-application/advanced-topics/'
+ 'adding-an-application-key-generation-workflow/'
+ '#adding-an-application-key-generation-workflow'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ function ListLabels() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/consume-api/manage-subscription/advanced-topics/adding'
+ '-an-api-subscription-workflow/#adding-an-api-subscription-workflow'}
+ 'consume/manage-subscription/advanced-topics/'
+ 'adding-an-api-subscription-workflow'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ function ListLabels() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/consume-api/manage-subscription/advanced-topics/adding'
+ '-an-api-subscription-workflow/#adding-an-api-subscription-workflow'}
+ 'consume/manage-subscription/advanced-topics/'
+ 'adding-an-api-subscription-deletion-workflow'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ function ListLabels() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/consume-api/manage-subscription/advanced-topics/adding'
+ '-an-api-subscription-workflow/#adding-an-api-subscription-update-workflow'}
+ 'consume/manage-subscription/advanced-topics/'
+ 'adding-an-api-subscription-tier-update-workflow'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function ListLabels() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'develop/customizations/adding-a-user-signup-workflow/'}
+ 'reference/customize-product/customizations/adding-a-user-signup-workflow/'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@
"limit": 30
},
"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"
"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.4.0/"
},
"serviceCatalogDefinitionTypes": {
"OAS2": "Swagger",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ function Onboarding() {
size='large'
variant='outlined'
color='primary'
href='https://apim.docs.wso2.com/en/4.4.0/design/create-api/create-an-api-using-a-service/'
href={Configurations.app.docUrl + 'design/create-api/create-an-api-using-a-service/'}
target='_blank'
rel='noopener noreferrer'
endIcon={<LaunchIcon style={{ fontSize: 15 }} />}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ function ListLabels() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/consume-api/manage-subscription/advanced-topics/adding'
+ '-an-api-subscription-workflow/#adding-an-api-subscription-workflow'}
+ 'consume/manage-subscription/advanced-topics/'
+ 'adding-an-api-subscription-workflow'}
underline='hover'
>
<ListItemText primary={(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ function ListLabels() {
<Link
target='_blank'
href={Configurations.app.docUrl
+ 'learn/consume-api/manage-subscription/advanced-topics/adding'
+ '-an-api-subscription-workflow/#adding-an-api-subscription-workflow'}
+ 'consume/manage-subscription/advanced-topics/'
+ 'adding-an-api-subscription-tier-update-workflow'}
underline='hover'
>
<ListItemText primary={(
Expand Down

0 comments on commit dfa47ce

Please sign in to comment.