Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion COMPONENT_REGISTRY.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ Generated by `scripts/audit-components.mjs`. Run to update.
| `SayHelloWorkflow` | 1 | `UNKNOWN` | ❌ |
| `ISayHelloNexusService` | 1 | `UNKNOWN` | ❌ |
| `CallerWorkflow` | 1 | `UNKNOWN` | ❌ |
| `SdkLogos` | 1 | `strip-block` | ✅ |
| `StandaloneActivityDemo` | 1 | `UNKNOWN` | ❌ |
| `SdkSvg` | 1 | `strip-block` | ✅ |
| `SdkGuideLinks` | 1 | `UNKNOWN` | ❌ |
Expand Down
2 changes: 1 addition & 1 deletion MARKDOWN_PIPELINE.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ Each component maps to a strategy in `COMPONENT_REGISTRY` (in `scripts/mdx-to-md
| `HomePageHero` | `home-page-hero` | Homepage hero's headline, intro paragraphs, and link cards (content mirrored from the component) |
| `QuickstartCards`, `PatternCards` | `cards` | Markdown link list parsed from the inline `items={[{href,title,description}]}` prop |
| `ZoomPanPinch` | `transparent` | Wrapper stripped; inner content passed through |
| `DocCardList`, `CardList`, `LandingCard`, `ThemedImage`, `SdkLogos`, `SdkSvg`, `CloudRegionCount`, `RetrySimulator`, `ServerlessWorkerDemo`, `OperationsTable`, `InvitationContent` | `strip-block` | Removed entirely (visual/dynamic, no extractable text) |
| `DocCardList`, `CardList`, `LandingCard`, `ThemedImage`, `SdkSvg`, `CloudRegionCount`, `RetrySimulator`, `ServerlessWorkerDemo`, `OperationsTable`, `InvitationContent` | `strip-block` | Removed entirely (visual/dynamic, no extractable text) |
| `DL`, `DT`, `DD`, `DefinitionList` | `strip-tag` | Tags stripped, text content kept |
| `details` / `summary` | `details` / `summary` | `<summary>` becomes a heading; body expanded inline |

Expand Down
3 changes: 1 addition & 2 deletions docs/cloud/worker-health.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,7 @@ keywords:
- temporal worker resources
---
import { LANGUAGE_TAB_GROUP, getLanguageLabel } from '@site/src/constants/languageTabs';
import SdkTabs from '@site/src/components';
import { ReleaseNoteHeader } from '@site/src/components';
import { ReleaseNoteHeader, SdkTabs } from '@site/src/components';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

Expand Down
2 changes: 1 addition & 1 deletion docs/develop/environment-configuration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ tags:
---

import { LANGUAGE_TAB_GROUP, getLanguageLabel } from '@site/src/constants/languageTabs';
import SdkTabs from '@site/src/components';
import { SdkTabs } from '@site/src/components';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

Expand Down
35 changes: 24 additions & 11 deletions docs/develop/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,30 @@ description: Discover comprehensive Temporal SDK feature guides and API referenc
sidebar_label: Development
---

import { SdkLogos } from '@site/src/components';

The Temporal SDK developer guides provide a comprehensive overview of the structures, primitives, and features used in [Temporal Application](/temporal#temporal-application) development.

<SdkLogos />

- Go SDK [developer guide](/develop/go) and [API reference](http://t.mp/go-api)
- Java SDK [developer guide](/develop/java) and [API reference](http://t.mp/java-api)
- PHP SDK [developer guide](/develop/php) and [API reference](https://php.temporal.io/namespaces/temporal.html)
- Python SDK [developer guide](/develop/python) and [API reference](https://python.temporal.io)
- TypeScript SDK [developer guide](/develop/typescript) and [API reference](https://typescript.temporal.io)
- .NET SDK [developer guide](/develop/dotnet) and [API reference](https://dotnet.temporal.io/)
- Ruby SDK [developer guide](/develop/ruby) and [API reference](https://ruby.temporal.io/)
- Rust SDK [developer guide](/develop/rust) and [API reference](https://docs.rs/temporalio-sdk/latest/temporalio_sdk/)
- .NET SDK:
- [Developer guide](/develop/dotnet)
- [API reference](https://dotnet.temporal.io/)
- Go SDK:
- [Developer guide](/develop/go)
- [API reference](http://t.mp/go-api)
- Java SDK:
- [Developer guide](/develop/java)
- [API reference](http://t.mp/java-api)
- PHP SDK:
- [Developer guide](/develop/php)
- [API reference](https://php.temporal.io/namespaces/temporal.html)
- Python SDK:
- [Developer guide](/develop/python)
- [API reference](https://python.temporal.io)
- Ruby SDK:
- [Developer guide](/develop/ruby)
- [API reference](https://ruby.temporal.io/)
- Rust SDK:
- [Developer guide](/develop/rust)
- [API reference](https://docs.rs/temporalio-sdk/latest/temporalio_sdk/)
- TypeScript SDK:
- [Developer guide](/develop/typescript)
- [API reference](https://typescript.temporal.io)
2 changes: 1 addition & 1 deletion docs/develop/plugins-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ tags:
- AI Agents
---

import SdkTabs from '@site/src/components';
import { SdkTabs } from '@site/src/components';

# Plugins

Expand Down
5 changes: 2 additions & 3 deletions docs/develop/task-queue-priority-fairness.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ tags:
- Priority and Fairness
---

import { EnlargeImage } from '@site/src/components';
import SdkTabs from '@site/src/components';
import { EnlargeImage, SdkTabs } from '@site/src/components';

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

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

<SdkTabs>
<SdkTabs hideUnsupportedLanguages>
<SdkTabs.Go>
```go
workflowOptions := client.StartWorkflowOptions{
Expand Down
5 changes: 2 additions & 3 deletions docs/develop/worker-performance.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ tags:
- Performance
---

import { CaptionedImage, ReleaseNoteHeader } from '@site/src/components';
import { CaptionedImage, ReleaseNoteHeader, SdkTabs } from '@site/src/components';
import { LANGUAGE_TAB_GROUP, getLanguageLabel } from '@site/src/constants/languageTabs';
import SdkTabs from '@site/src/components';

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

#### SDK Examples

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📝 [vale] reported by reviewdog 🐶
[Temporal.Headings] 'SDK Examples' should use sentence-style capitalization.


<SdkTabs>
<SdkTabs hideUnsupportedLanguages>
<SdkTabs.Go>
[Go SDK docs](https://pkg.go.dev/go.temporal.io/sdk/worker#PollerBehaviorAutoscalingOptions)
```go
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ tags:
- AWS Lambda
---

import SdkTabs from '@site/src/components/elements/SdkTabs';
import { ReleaseNoteHeader } from '@site/src/components';
import { ReleaseNoteHeader, SdkTabs } from '@site/src/components';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ tags:
---

import { LANGUAGE_TAB_GROUP, getLanguageLabel } from '@site/src/constants/languageTabs';
import SdkTabs from '@site/src/components';
import { SdkTabs } from '@site/src/components';

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

Follow the example for your SDK below:

<SdkTabs>
<SdkTabs hideUnsupportedLanguages>
<SdkTabs.Go>
```go
buildID:= mustGetEnv("MY_BUILD_ID")
Expand Down
1 change: 0 additions & 1 deletion scripts/mdx-to-md.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,6 @@ export const COMPONENT_REGISTRY = {
ThemedImage: "strip-block",
PatternCards: "cards",
QuickstartCards: "cards",
SdkLogos: "strip-block",
SdkSvg: "strip-block",
CloudRegionCount: "strip-block",
RetrySimulator: "strip-block",
Expand Down
2 changes: 1 addition & 1 deletion src/components/elements/HomePageHero.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// change that copy here, update the handler too. See MARKDOWN_PIPELINE.md.
import React from 'react';
import useBaseUrl from '@docusaurus/useBaseUrl';
import { SdkLogosAsBlocks } from './SdkLogosAsBlocks';
import { SdkLogosAsBlocks } from './Sdk';
import '../../css/homepage-hero.css';

const Icon = ({ src, alt, className, width, height }) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from 'react';
import Link from '@docusaurus/Link';
import SdkSvg from './SdkSvgs/SdkSvg';
import SdkSvg from '../../SdkSvgs/SdkSvg';
import styles from './sdk-guide-links.module.css';

const DEFAULT_SDKS = [
Expand Down
1 change: 1 addition & 0 deletions src/components/elements/Sdk/SdkGuideLinks/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './SdkGuideLinks'
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
display: flex;
align-items: center;
gap: 10px;
text-decoration: none;
}

.iconWrapper {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import SdkSvg from './SdkSvgs/SdkSvg';
import SdkSvg from '../SdkSvgs/SdkSvg';

const supportedTech = [
{
Expand Down
3 changes: 3 additions & 0 deletions src/components/elements/Sdk/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export * from './SdkGuideLinks'
export * from './SdkLogosAsBlocks'
export { default as SdkTabs } from './SdkTabs'
72 changes: 0 additions & 72 deletions src/components/elements/SdkLogos.js

This file was deleted.

23 changes: 0 additions & 23 deletions src/components/elements/SdkTabs/Languages.ts

This file was deleted.

3 changes: 2 additions & 1 deletion src/components/elements/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from './Tables'
export * from './Tile'
export * from './Images'
export * from './RelatedRead'
export * from './ReleaseNoteHeader'
export * from './ReleaseNoteHeader'
export * from './Sdk'
7 changes: 0 additions & 7 deletions src/components/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,4 @@ export * from './Quickstart'
export * from './ToolTipTerm';

export { default as HomePageHero } from './elements/HomePageHero';
export { SdkLogos } from './elements/SdkLogos';
export { SdkLogosAsBlocks } from './elements/SdkLogosAsBlocks';
export { SdkGuideLinks } from './elements/SdkGuideLinks';
export { default as PhotoCarousel } from './elements/PhotoCarousel';
export { default as SdkTabs } from './elements/SdkTabs';

// Extra export
export { default } from './elements/SdkTabs';