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
50 changes: 31 additions & 19 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

const { themes: prismThemes } = require('prism-react-renderer');
const identityLinks = require('./static/identity/links.json');
const codeTheme = {
plain: {color: '#E8EDEA', backgroundColor: '#0F1513'},
styles: [
{types: ['comment', 'prolog', 'doctype', 'cdata'], style: {color: '#9AA6A1'}},
{types: ['keyword', 'selector', 'string', 'attr-value'], style: {color: '#5FE0A6'}},
{types: ['function', 'class-name', 'number', 'boolean'], style: {color: '#B7C2BD'}},
],
};
const { artifactVersionRemarkPlugin } = require('./scripts/public-artifact-versions');

const cloudflareWebAnalytics = Object.freeze({
Expand Down Expand Up @@ -179,12 +187,14 @@ const config = {
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
({
colorMode: {
defaultMode: 'dark',
defaultMode: 'light',
disableSwitch: false,
respectPrefersColorScheme: false,
},
announcementBar: {
id: 'server-3-0-launch',
backgroundColor: 'var(--dw-surface)',
textColor: 'var(--dw-ink)',
content:
'Durable Workflow Server 3.0 runs as one native process plus a database. <a href="/blog/durable-workflow-server-3-0/">Read the launch post</a>.',
isCloseable: true,
Expand All @@ -196,27 +206,29 @@ const config = {
src: 'img/logo.svg',
},
items: [
{type: 'doc', docId: 'introduction', position: 'left', label: 'Docs'},
{
type: 'doc',
docId: 'introduction',
position: 'left',
label: 'Docs',
type: 'custom-sdkSwitcher', position: 'left', label: 'SDKs',
items: [
{label: 'Python', href: identityLinks.python},
{label: 'Rust', href: identityLinks.rust},
{label: 'PHP', href: identityLinks.php},
],
},
{href: identityLinks.cloud, label: 'Cloud', position: 'left'},
{href: identityLinks.pricing, label: 'Pricing', position: 'left'},
{href: identityLinks.status, label: 'Status', position: 'left'},
{href: identityLinks.github, label: 'GitHub', position: 'right'},
{
type: 'docsVersionDropdown',
position: 'left',
dropdownActiveClassDisabled: true,
to: '/docs/introduction/', label: 'Get started', position: 'right',
className: 'button button--primary dw-nav-cta',
},
{to: '/blog', label: 'Blog', position: 'left'},
{type: 'localeDropdown', position: 'right'},
{
type: 'custom-githubStar',
href: 'https://github.com/durable-workflow/workflow',
repo: 'durable-workflow/workflow',
label: 'Star on GitHub',
position: 'right',
'aria-label': 'Star Durable Workflow on GitHub',
type: 'docsVersionDropdown', position: 'left',
dropdownActiveClassDisabled: true, className: 'dw-context-item',
},
{to: '/blog', label: 'Blog', position: 'left', className: 'dw-context-item'},
{type: 'localeDropdown', position: 'right', className: 'dw-context-item'},
],
},
footer: {
Expand Down Expand Up @@ -265,8 +277,8 @@ const config = {
copyright: `Copyright © ${new Date().getFullYear()} <a href="https://durable-workflow.com">Durable Workflow</a>.`,
},
prism: {
theme: prismThemes.github,
darkTheme: prismThemes.dracula,
theme: codeTheme,
darkTheme: codeTheme,
},
image: 'img/durable-workflow-2.0.png',
}),
Expand Down
75 changes: 75 additions & 0 deletions i18n/de/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -301,5 +301,80 @@
},
"simulator.signalWaitReceived": {
"message": "await(): Signal empfangen"
},
"identity.documentation": {
"message": "Dokumentation"
},
"identity.durableExecution": {
"message": "Dauerhafte Ausführung"
},
"identity.heroTitle": {
"message": "Arbeit, die weiterläuft."
},
"identity.startEyebrow": {
"message": "Ihr nächster Schritt"
},
"identity.startTitle": {
"message": "Starten Sie dort, wo Sie entwickeln."
},
"identity.embedded": {
"message": "In Ihre Anwendung eingebettet"
},
"identity.sdkGuide": {
"message": "SDK-Anleitung und API-Referenz"
},
"identity.runtimeNote": {
"message": "Betreiben Sie den Server selbst oder nutzen Sie die verwaltete Cloud."
},
"identity.footerDescription": {
"message": "Betreiben Sie den Server selbst oder nutzen Sie die Cloud."
},
"identity.run": {
"message": "Betrieb"
},
"identity.selfHosted": {
"message": "Selbst gehosteter Server"
},
"identity.pricing": {
"message": "Preise"
},
"identity.status": {
"message": "Status"
},
"identity.project": {
"message": "Projekt"
},
"identity.compatibility": {
"message": "Versionskompatibilität"
},
"identity.terms": {
"message": "Nutzungsbedingungen"
},
"identity.privacy": {
"message": "Datenschutzerklärung"
},
"identity.statusUnknown": {
"message": "Status unbekannt"
},
"identity.statusOperational": {
"message": "Alle Systeme betriebsbereit"
},
"identity.statusDegraded": {
"message": "Dienst beeinträchtigt"
},
"identity.statusIncident": {
"message": "Dienststörung"
},
"identity.statusMaintenance": {
"message": "Wartung"
},
"identity.statusStale": {
"message": "Status veraltet"
},
"identity.statusUnverified": {
"message": "Status nicht verifiziert"
},
"identity.statusUnavailable": {
"message": "Status nicht verfügbar"
}
}
9 changes: 9 additions & 0 deletions i18n/de/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,14 @@
},
"item.label.Star on GitHub": {
"message": "Stern auf GitHub geben"
},
"item.label.Pricing": {
"message": "Preise"
},
"item.label.Status": {
"message": "Status"
},
"item.label.Get started": {
"message": "Erste Schritte"
}
}
27 changes: 26 additions & 1 deletion i18n/es/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,30 @@
"simulator.totalTime": {"message": "Tiempo total:"},
"simulator.heartbeatElapsed": {"message": "Tiempo desde el último latido: {elapsed} / plazo de 5s"},
"simulator.noHeartbeat": {"message": "❌ ¡Plazo vencido por falta de latidos!"},
"simulator.heartbeatActive": {"message": "💓 Latido activo"}
"simulator.heartbeatActive": {"message": "💓 Latido activo"},
"identity.documentation": {"message": "Documentación"},
"identity.durableExecution": {"message": "Ejecución duradera"},
"identity.heroTitle": {"message": "Trabajo que sigue adelante."},
"identity.startEyebrow": {"message": "Tu próximo paso"},
"identity.startTitle": {"message": "Empieza donde desarrollas."},
"identity.embedded": {"message": "Integrado en tu aplicación"},
"identity.sdkGuide": {"message": "Guía del SDK y referencia de la API"},
"identity.runtimeNote": {"message": "Ejecuta tu propio Server o conéctate a Cloud administrado."},
"identity.footerDescription": {"message": "Aloja Server o utiliza Cloud."},
"identity.run": {"message": "Ejecución"},
"identity.selfHosted": {"message": "Server autogestionado"},
"identity.pricing": {"message": "Precios"},
"identity.status": {"message": "Estado"},
"identity.project": {"message": "Proyecto"},
"identity.compatibility": {"message": "Compatibilidad de versiones"},
"identity.terms": {"message": "Términos del servicio"},
"identity.privacy": {"message": "Política de privacidad"},
"identity.statusUnknown": {"message": "Estado desconocido"},
"identity.statusOperational": {"message": "Todos los sistemas operativos"},
"identity.statusDegraded": {"message": "Servicio degradado"},
"identity.statusIncident": {"message": "Incidente del servicio"},
"identity.statusMaintenance": {"message": "Mantenimiento"},
"identity.statusStale": {"message": "Estado desactualizado"},
"identity.statusUnverified": {"message": "Estado sin verificar"},
"identity.statusUnavailable": {"message": "Estado no disponible"}
}
5 changes: 4 additions & 1 deletion i18n/es/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"logo.alt": {"message": "Logotipo de Durable Workflow"},
"item.label.Docs": {"message": "Documentación"},
"item.label.Blog": {"message": "Blog (en inglés)"},
"item.label.Star on GitHub": {"message": "Apoya el proyecto en GitHub"}
"item.label.Star on GitHub": {"message": "Apoya el proyecto en GitHub"},
"item.label.Pricing": {"message": "Precios"},
"item.label.Status": {"message": "Estado"},
"item.label.Get started": {"message": "Empieza aquí"}
}
75 changes: 75 additions & 0 deletions i18n/fr/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -301,5 +301,80 @@
},
"simulator.signalWaitReceived": {
"message": "await() a reçu le signal"
},
"identity.documentation": {
"message": "Documentation"
},
"identity.durableExecution": {
"message": "Exécution durable"
},
"identity.heroTitle": {
"message": "Un travail qui continue."
},
"identity.startEyebrow": {
"message": "Votre prochaine étape"
},
"identity.startTitle": {
"message": "Commencez là où vous développez."
},
"identity.embedded": {
"message": "Intégré à votre application"
},
"identity.sdkGuide": {
"message": "Guide du SDK et référence API"
},
"identity.runtimeNote": {
"message": "Hébergez Server vous-même ou connectez-vous à Cloud géré."
},
"identity.footerDescription": {
"message": "Hébergez Server ou utilisez Cloud."
},
"identity.run": {
"message": "Exécution"
},
"identity.selfHosted": {
"message": "Server auto-hébergé"
},
"identity.pricing": {
"message": "Tarifs"
},
"identity.status": {
"message": "État"
},
"identity.project": {
"message": "Projet"
},
"identity.compatibility": {
"message": "Compatibilité des versions"
},
"identity.terms": {
"message": "Conditions d’utilisation"
},
"identity.privacy": {
"message": "Politique de confidentialité"
},
"identity.statusUnknown": {
"message": "État inconnu"
},
"identity.statusOperational": {
"message": "Tous les systèmes sont opérationnels"
},
"identity.statusDegraded": {
"message": "Service dégradé"
},
"identity.statusIncident": {
"message": "Incident de service"
},
"identity.statusMaintenance": {
"message": "Maintenance"
},
"identity.statusStale": {
"message": "État obsolète"
},
"identity.statusUnverified": {
"message": "État non vérifié"
},
"identity.statusUnavailable": {
"message": "État indisponible"
}
}
9 changes: 9 additions & 0 deletions i18n/fr/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,14 @@
},
"item.label.Star on GitHub": {
"message": "Ajouter une étoile sur GitHub"
},
"item.label.Pricing": {
"message": "Tarifs"
},
"item.label.Status": {
"message": "État"
},
"item.label.Get started": {
"message": "Commencer"
}
}
27 changes: 26 additions & 1 deletion i18n/ja/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,30 @@
"workerAuthority.historicalConformance": {"message": "保持されている過去の適合性の対応関係"},
"workerAuthority.historicalBindings": {"message": "プロトコル {protocols} について {marker} と記された対応関係"},
"workerAuthority.historicalRecords": {"message": "不変のリゾルバーとダイジェストの記録:"},
"workerAuthority.manifest": {"message": "適合性マニフェスト"}
"workerAuthority.manifest": {"message": "適合性マニフェスト"},
"identity.documentation": {"message": "ドキュメント"},
"identity.durableExecution": {"message": "耐久性のある実行"},
"identity.heroTitle": {"message": "止まらずに進むワークフロー。"},
"identity.startEyebrow": {"message": "次のステップ"},
"identity.startTitle": {"message": "使い慣れた環境から始める。"},
"identity.embedded": {"message": "アプリケーションに組み込み"},
"identity.sdkGuide": {"message": "SDK ガイドと API リファレンス"},
"identity.runtimeNote": {"message": "Server をセルフホストするか、マネージド Cloud に接続します。"},
"identity.footerDescription": {"message": "Server のセルフホスト、または Cloud での実行。"},
"identity.run": {"message": "実行"},
"identity.selfHosted": {"message": "セルフホストの Server"},
"identity.pricing": {"message": "料金"},
"identity.status": {"message": "ステータス"},
"identity.project": {"message": "プロジェクト"},
"identity.compatibility": {"message": "バージョン互換性"},
"identity.terms": {"message": "利用規約"},
"identity.privacy": {"message": "プライバシーポリシー"},
"identity.statusUnknown": {"message": "ステータス不明"},
"identity.statusOperational": {"message": "すべてのシステムが正常稼働中"},
"identity.statusDegraded": {"message": "サービスの一部が低下"},
"identity.statusIncident": {"message": "サービス障害"},
"identity.statusMaintenance": {"message": "メンテナンス"},
"identity.statusStale": {"message": "ステータス情報が古くなっています"},
"identity.statusUnverified": {"message": "ステータス未確認"},
"identity.statusUnavailable": {"message": "ステータスを取得できません"}
}
5 changes: 4 additions & 1 deletion i18n/ja/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,8 @@
"logo.alt": {"message": "Durable Workflow のロゴ"},
"item.label.Docs": {"message": "ドキュメント"},
"item.label.Blog": {"message": "ブログ(英語)"},
"item.label.Star on GitHub": {"message": "GitHub でスターを付ける"}
"item.label.Star on GitHub": {"message": "GitHub でスターを付ける"},
"item.label.Pricing": {"message": "料金"},
"item.label.Status": {"message": "ステータス"},
"item.label.Get started": {"message": "はじめる"}
}
27 changes: 26 additions & 1 deletion i18n/pt-BR/code.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,5 +98,30 @@
"workerAuthority.manifest": {"message": "manifesto de conformidade"},
"simulator.queryAction": {"message": "🔍 Consultar:"},
"simulator.signalAccepted": {"message": "Sinal {signal} aceito"},
"simulator.signalWaitReceived": {"message": "sinal de await() recebido"}
"simulator.signalWaitReceived": {"message": "sinal de await() recebido"},
"identity.documentation": {"message": "Documentação"},
"identity.durableExecution": {"message": "Execução durável"},
"identity.heroTitle": {"message": "Trabalho que continua."},
"identity.startEyebrow": {"message": "Seu próximo passo"},
"identity.startTitle": {"message": "Comece onde você desenvolve."},
"identity.embedded": {"message": "Integrado ao seu aplicativo"},
"identity.sdkGuide": {"message": "Guia do SDK e referência da API"},
"identity.runtimeNote": {"message": "Hospede o Server ou conecte-se ao Cloud gerenciado."},
"identity.footerDescription": {"message": "Hospede o Server ou use o Cloud."},
"identity.run": {"message": "Execução"},
"identity.selfHosted": {"message": "Server auto-hospedado"},
"identity.pricing": {"message": "Preços"},
"identity.status": {"message": "Status"},
"identity.project": {"message": "Projeto"},
"identity.compatibility": {"message": "Compatibilidade de versões"},
"identity.terms": {"message": "Termos de Serviço"},
"identity.privacy": {"message": "Política de Privacidade"},
"identity.statusUnknown": {"message": "Status desconhecido"},
"identity.statusOperational": {"message": "Todos os sistemas operacionais"},
"identity.statusDegraded": {"message": "Serviço degradado"},
"identity.statusIncident": {"message": "Incidente no serviço"},
"identity.statusMaintenance": {"message": "Manutenção"},
"identity.statusStale": {"message": "Status desatualizado"},
"identity.statusUnverified": {"message": "Status não verificado"},
"identity.statusUnavailable": {"message": "Status indisponível"}
}
Loading
Loading