Skip to content

Commit b5ed2ed

Browse files
committed
refactor(components): grouped the remaining sdk components together and cleaned up references
1 parent ebbeefb commit b5ed2ed

16 files changed

Lines changed: 19 additions & 25 deletions

File tree

docs/cloud/worker-health.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ keywords:
2727
- temporal worker resources
2828
---
2929
import { LANGUAGE_TAB_GROUP, getLanguageLabel } from '@site/src/constants/languageTabs';
30-
import SdkTabs from '@site/src/components';
31-
import { ReleaseNoteHeader } from '@site/src/components';
30+
import { ReleaseNoteHeader, SdkTabs } from '@site/src/components';
3231
import Tabs from '@theme/Tabs';
3332
import TabItem from '@theme/TabItem';
3433

docs/develop/environment-configuration.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ tags:
1111
---
1212

1313
import { LANGUAGE_TAB_GROUP, getLanguageLabel } from '@site/src/constants/languageTabs';
14-
import SdkTabs from '@site/src/components';
14+
import { SdkTabs } from '@site/src/components';
1515
import Tabs from '@theme/Tabs';
1616
import TabItem from '@theme/TabItem';
1717

docs/develop/plugins-guide.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ tags:
1313
- AI Agents
1414
---
1515

16-
import SdkTabs from '@site/src/components';
16+
import { SdkTabs } from '@site/src/components';
1717

1818
# Plugins
1919

docs/develop/task-queue-priority-fairness.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ tags:
1414
- Priority and Fairness
1515
---
1616

17-
import { EnlargeImage } from '@site/src/components';
18-
import SdkTabs from '@site/src/components';
17+
import { EnlargeImage, SdkTabs } from '@site/src/components';
1918

2019
[Task Queue Priority](#task-queue-priority) and [Task Queue Fairness](#task-queue-fairness) are two ways to manage the
2120
distribution of work within a Task Queue. Priority allows [Tasks](/tasks) to be executed in Priority order.
@@ -64,7 +63,7 @@ temporal workflow start \
6463

6564
You can set priority keys for a Workflow within the SDK like so:
6665

67-
<SdkTabs>
66+
<SdkTabs hideUnsupportedLanguages>
6867
<SdkTabs.Go>
6968
```go
7069
workflowOptions := client.StartWorkflowOptions{

docs/develop/worker-performance.mdx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,8 @@ tags:
99
- Performance
1010
---
1111

12-
import { CaptionedImage, ReleaseNoteHeader } from '@site/src/components';
12+
import { CaptionedImage, ReleaseNoteHeader, SdkTabs } from '@site/src/components';
1313
import { LANGUAGE_TAB_GROUP, getLanguageLabel } from '@site/src/constants/languageTabs';
14-
import SdkTabs from '@site/src/components';
1514

1615
This page documents metrics and configurations that drive the efficiency of your Worker fleet.
1716
It provides coverage of performance metric families, Worker configuration options, Task Queue information, backlog counts, Task rates, and how to evaluate Worker availability.
@@ -248,7 +247,7 @@ These options define the maximum count of pollers performing poll requests on Wo
248247

249248
#### SDK Examples
250249

251-
<SdkTabs>
250+
<SdkTabs hideUnsupportedLanguages>
252251
<SdkTabs.Go>
253252
[Go SDK docs](https://pkg.go.dev/go.temporal.io/sdk/worker#PollerBehaviorAutoscalingOptions)
254253
```go

docs/production-deployment/worker-deployments/serverless-workers/aws-lambda.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ tags:
1818
- AWS Lambda
1919
---
2020

21-
import SdkTabs from '@site/src/components/elements/SdkTabs';
22-
import { ReleaseNoteHeader } from '@site/src/components';
21+
import { ReleaseNoteHeader, SdkTabs } from '@site/src/components';
2322
import Tabs from '@theme/Tabs';
2423
import TabItem from '@theme/TabItem';
2524

docs/production-deployment/worker-deployments/worker-versioning.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ tags:
1818
---
1919

2020
import { LANGUAGE_TAB_GROUP, getLanguageLabel } from '@site/src/constants/languageTabs';
21-
import SdkTabs from '@site/src/components';
21+
import { SdkTabs } from '@site/src/components';
2222

2323
Worker Versioning is a Temporal feature that allows you to confidently deploy new changes to the Workflows running on
2424
your Workers without breaking them. Temporal enables this by helping you manage different builds or versions, formally
@@ -149,7 +149,7 @@ three new parameters, with different names depending on the language:
149149

150150
Follow the example for your SDK below:
151151

152-
<SdkTabs>
152+
<SdkTabs hideUnsupportedLanguages>
153153
<SdkTabs.Go>
154154
```go
155155
buildID:= mustGetEnv("MY_BUILD_ID")

src/components/elements/HomePageHero.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// change that copy here, update the handler too. See MARKDOWN_PIPELINE.md.
55
import React from 'react';
66
import useBaseUrl from '@docusaurus/useBaseUrl';
7-
import { SdkLogosAsBlocks } from './SdkLogosAsBlocks';
7+
import { SdkLogosAsBlocks } from './Sdk';
88
import '../../css/homepage-hero.css';
99

1010
const Icon = ({ src, alt, className, width, height }) => {

src/components/elements/SdkGuideLinks.js renamed to src/components/elements/Sdk/SdkGuideLinks/SdkGuideLinks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import Link from '@docusaurus/Link';
3-
import SdkSvg from './SdkSvgs/SdkSvg';
3+
import SdkSvg from '../../SdkSvgs/SdkSvg';
44
import styles from './sdk-guide-links.module.css';
55

66
const DEFAULT_SDKS = [
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
export * from './SdkGuideLinks'

0 commit comments

Comments
 (0)