diff --git a/clients/client-guardduty/typedoc.json b/clients/client-guardduty/typedoc.json index 0e8d85b6ed844..8a364aa93b692 100644 --- a/clients/client-guardduty/typedoc.json +++ b/clients/client-guardduty/typedoc.json @@ -1,10 +1,6 @@ { - "extends": [ - "../../typedoc.client.json" - ], - "entryPoints": [ - "src/index.ts" - ], + "extends": ["../../typedoc.client.json"], + "entryPoints": ["src/index.ts"], "out": "docs", "readme": "README.md" } diff --git a/clients/client-resource-explorer-2/typedoc.json b/clients/client-resource-explorer-2/typedoc.json index 0e8d85b6ed844..8a364aa93b692 100644 --- a/clients/client-resource-explorer-2/typedoc.json +++ b/clients/client-resource-explorer-2/typedoc.json @@ -1,10 +1,6 @@ { - "extends": [ - "../../typedoc.client.json" - ], - "entryPoints": [ - "src/index.ts" - ], + "extends": ["../../typedoc.client.json"], + "entryPoints": ["src/index.ts"], "out": "docs", "readme": "README.md" } diff --git a/clients/client-sagemaker-runtime/typedoc.json b/clients/client-sagemaker-runtime/typedoc.json index 0e8d85b6ed844..8a364aa93b692 100644 --- a/clients/client-sagemaker-runtime/typedoc.json +++ b/clients/client-sagemaker-runtime/typedoc.json @@ -1,10 +1,6 @@ { - "extends": [ - "../../typedoc.client.json" - ], - "entryPoints": [ - "src/index.ts" - ], + "extends": ["../../typedoc.client.json"], + "entryPoints": ["src/index.ts"], "out": "docs", "readme": "README.md" } diff --git a/packages/core-theme-documentation-generator/src/theme.tsx b/packages/core-theme-documentation-generator/src/theme.tsx index 419ebc0022215..0f6319d4a3509 100644 --- a/packages/core-theme-documentation-generator/src/theme.tsx +++ b/packages/core-theme-documentation-generator/src/theme.tsx @@ -23,7 +23,7 @@ class SdkThemeContext extends DefaultThemeRenderContext { const script = ` // REDIRECT BROKEN CLIENT INDEX PAGES (() => { - if (window.location.href.includes('clients/client') && /clients\\\/client-\\\w+\\\//.test(window.location.href) === false) { + if (window.location.href.includes('clients/client') && /clients\\\/client-[^\\\/]+\\\//.test(window.location.href) === false) { window.location.href = window.location.href + '/' } })();