From 2a0418036057488758947039e5862e2213fd27f6 Mon Sep 17 00:00:00 2001 From: Josh Wong <23216828+josh-wong@users.noreply.github.com> Date: Wed, 4 Dec 2024 11:32:05 +0900 Subject: [PATCH 1/6] Revise wording --- src/components/Cards/3.8.tsx | 2 +- src/components/Cards/3.9.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Cards/3.8.tsx b/src/components/Cards/3.8.tsx index 31d7d221..6f741d1c 100644 --- a/src/components/Cards/3.8.tsx +++ b/src/components/Cards/3.8.tsx @@ -87,7 +87,7 @@ const CardsSamples = [ }, description: ( - Create a bank account application + Run a bank account application ), }, diff --git a/src/components/Cards/3.9.tsx b/src/components/Cards/3.9.tsx index 31d7d221..6f741d1c 100644 --- a/src/components/Cards/3.9.tsx +++ b/src/components/Cards/3.9.tsx @@ -87,7 +87,7 @@ const CardsSamples = [ }, description: ( - Create a bank account application + Run a bank account application ), }, From d263e5a73778c9c0ba6e5350ab6006e0ce831f1c Mon Sep 17 00:00:00 2001 From: Josh Wong <23216828+josh-wong@users.noreply.github.com> Date: Wed, 4 Dec 2024 12:06:15 +0900 Subject: [PATCH 2/6] Revise category names --- .../ja-jp/docusaurus-plugin-content-docs/current.json | 6 +++--- .../ja-jp/docusaurus-plugin-content-docs/version-3.8.json | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/current.json b/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/current.json index 14130574..0636b162 100644 --- a/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/current.json +++ b/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/current.json @@ -16,7 +16,7 @@ "description": "The label for category Samples in sidebar docs" }, "sidebar.docs.category.Develop": { - "message": "開発する", + "message": "開発", "description": "The label for category Develop in sidebar docs" }, "sidebar.docs.category.SDKs": { @@ -24,7 +24,7 @@ "description": "The label for category Deploy in sidebar docs" }, "sidebar.docs.category.Deploy": { - "message": "展開する", + "message": "デプロイ", "description": "The label for category Deploy in sidebar docs" }, "sidebar.docs.category.Scalar Kubernetes": { @@ -72,7 +72,7 @@ "description": "The label for category Backup and Restore Guides in sidebar docs" }, "sidebar.docs.category.Reference": { - "message": "参照", + "message": "関連情報", "description": "The label for category Reference in sidebar docs" }, "sidebar.docs.category.Releases": { diff --git a/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/version-3.8.json b/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/version-3.8.json index a0cb4fc6..d1d4ab09 100644 --- a/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/version-3.8.json +++ b/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/version-3.8.json @@ -16,7 +16,7 @@ "description": "The label for category Samples in sidebar docs" }, "sidebar.docs.category.Develop": { - "message": "開発する", + "message": "開発", "description": "The label for category Develop in sidebar docs" }, "sidebar.docs.category.SDKs": { @@ -24,7 +24,7 @@ "description": "The label for category Deploy in sidebar docs" }, "sidebar.docs.category.Deploy": { - "message": "展開する", + "message": "デプロイ", "description": "The label for category Deploy in sidebar docs" }, "sidebar.docs.category.Scalar Kubernetes": { @@ -72,7 +72,7 @@ "description": "The label for category Backup and Restore Guides in sidebar docs" }, "sidebar.docs.category.Reference": { - "message": "参照", + "message": "関連情報", "description": "The label for category Reference in sidebar docs" }, "sidebar.docs.category.Releases": { From cf998ffa03e26bbf9cc856ce2218fc1aa066fddb Mon Sep 17 00:00:00 2001 From: Josh Wong <23216828+josh-wong@users.noreply.github.com> Date: Wed, 4 Dec 2024 12:10:36 +0900 Subject: [PATCH 3/6] Revise content to include Card components Revise the content to look more like a guided landing page by including Card components. --- .../current/index.mdx | 49 ++++++++++++++++--- .../version-3.8/index.mdx | 49 ++++++++++++++++--- 2 files changed, 84 insertions(+), 14 deletions(-) diff --git a/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/current/index.mdx b/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/current/index.mdx index a4868fe9..481b2518 100644 --- a/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/current/index.mdx +++ b/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/current/index.mdx @@ -1,11 +1,46 @@ -# ScalarDL: トランザクション データベース システム用のビザンチン障害検出ミドルウェア +# ScalarDL -import TranslationBanner from '/src/components/_translation-ja-jp.mdx'; +import { CardRowAbout, CardRowGettingStarted, CardRowSamples, CardRowDevelop, CardRowDeploy, CardRowManage, CardRowReference } from '/src/components/Cards/ja-jp/3.9'; - +ScalarDL は、正確性、スケーラビリティ、およびデータベース不可知性を実現する、トランザクションデータベースシステム用のスケーラブルで実用的なビザンチン障害検出ミドルウェアです。 -ScalarDL は、正確性、スケーラビリティ、およびデータベース不可知性を実現する、トランザクション データベース システム用のスケーラブルで実用的なビザンチン障害検出ミドルウェアです。 +**ScalarDL について** -## 役立つリソース -* [ScalarDL Technical Overview](https://speakerdeck.com/scalar/scalar-dl-technical-overview) -* [ScalarDL Research Paper](https://dl.acm.org/doi/abs/10.14778/3523210.3523212) [VLDB'22] + + +**始めましょう** + + + +**サンプルアプリケーション** + + + +**開発** + + + +**デプロイ** + + + +**管理** + + + +**関連情報** + + + +{/* Saving the following in case we decide to change the layout in the future to a more table grid-like style. */} +{/* +| Category | Documentation | +|:------------------- |:--------------------- | +| **About ScalarDL** | XXX | +| **Getting started** | XXX | +| **Samples** | XXX | +| **Develop** | XXX | +| **Deploy** | XXX | +| **Manage** | XXX | +| **Reference** | XXX | +*/} diff --git a/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/version-3.8/index.mdx b/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/version-3.8/index.mdx index a4868fe9..481b2518 100644 --- a/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/version-3.8/index.mdx +++ b/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/version-3.8/index.mdx @@ -1,11 +1,46 @@ -# ScalarDL: トランザクション データベース システム用のビザンチン障害検出ミドルウェア +# ScalarDL -import TranslationBanner from '/src/components/_translation-ja-jp.mdx'; +import { CardRowAbout, CardRowGettingStarted, CardRowSamples, CardRowDevelop, CardRowDeploy, CardRowManage, CardRowReference } from '/src/components/Cards/ja-jp/3.9'; - +ScalarDL は、正確性、スケーラビリティ、およびデータベース不可知性を実現する、トランザクションデータベースシステム用のスケーラブルで実用的なビザンチン障害検出ミドルウェアです。 -ScalarDL は、正確性、スケーラビリティ、およびデータベース不可知性を実現する、トランザクション データベース システム用のスケーラブルで実用的なビザンチン障害検出ミドルウェアです。 +**ScalarDL について** -## 役立つリソース -* [ScalarDL Technical Overview](https://speakerdeck.com/scalar/scalar-dl-technical-overview) -* [ScalarDL Research Paper](https://dl.acm.org/doi/abs/10.14778/3523210.3523212) [VLDB'22] + + +**始めましょう** + + + +**サンプルアプリケーション** + + + +**開発** + + + +**デプロイ** + + + +**管理** + + + +**関連情報** + + + +{/* Saving the following in case we decide to change the layout in the future to a more table grid-like style. */} +{/* +| Category | Documentation | +|:------------------- |:--------------------- | +| **About ScalarDL** | XXX | +| **Getting started** | XXX | +| **Samples** | XXX | +| **Develop** | XXX | +| **Deploy** | XXX | +| **Manage** | XXX | +| **Reference** | XXX | +*/} From 22049b39f201e3976d4911bb5a84931af7951d1d Mon Sep 17 00:00:00 2001 From: Josh Wong <23216828+josh-wong@users.noreply.github.com> Date: Wed, 4 Dec 2024 12:10:43 +0900 Subject: [PATCH 4/6] Create 3.9.tsx --- src/components/Cards/ja-jp/3.9.tsx | 307 +++++++++++++++++++++++++++++ 1 file changed, 307 insertions(+) create mode 100644 src/components/Cards/ja-jp/3.9.tsx diff --git a/src/components/Cards/ja-jp/3.9.tsx b/src/components/Cards/ja-jp/3.9.tsx new file mode 100644 index 00000000..b1b96cc0 --- /dev/null +++ b/src/components/Cards/ja-jp/3.9.tsx @@ -0,0 +1,307 @@ +/** + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/* eslint-disable global-require */ + +import React from 'react'; +import clsx from 'clsx'; +import Translate from '@docusaurus/Translate'; +import Link from '@docusaurus/Link'; + +const CardsAbout = [ + { + // name: '', + // image: '.png', + url: { + page: 'overview', + }, + description: ( + + 概要 + + ), + }, + { + // name: '', + // image: '.png', + url: { + page: 'implementation', + }, + description: ( + + 実装 + + ), + }, +] + +const CardsGettingStarted = [ + { + // name: '', + // image: '.png', + url: { + page: 'getting-started', + }, + description: ( + + ScalarDL Ledger をはじめよう + + ), + }, + { + // name: '', + // image: '.png', + url: { + page: 'getting-started-auditor', + }, + description: ( + + ScalarDL Auditor をはじめよう + + ), + }, +] + +const CardsSamples = [ + { + // name: '', + // image: '.png', + url: { + page: 'installation-with-docker', + }, + description: ( + + ローカル環境に ScalarDL をインストールする + + ), + }, + { + // name: '', + // image: '.png', + url: { + page: 'applications/simple-bank-account', + }, + description: ( + + 銀行口座申請を実行する + + ), + }, +] + +const CardsDevelop = [ + { + // name: 'For database engineers', + // image: '.png', + url: { + page: 'schema-loader', + }, + description: ( + + データベーススキーマをロードする + + ), + }, + { + // name: 'For infrastructure engineers', + // image: '.png', + url: { + page: 'ca/caclient-getting-started', + }, + description: ( + + 証明書を取得する + + ), + }, +] + +const CardsDeploy = [ + { + // name: '', + // image: '.png', + url: { + page: 'scalar-kubernetes/SetupDatabaseForAWS', + }, + description: ( + + AWS でデータベースをセットアップする + + ), + }, + { + // name: '', + // image: '.png', + url: { + page: 'scalar-kubernetes/ProductionChecklistForScalarDLLedger', + }, + description: ( + + ScalarDL Ledger の本番環境チェックリスト + + ), + }, +] + +const CardsManage = [ + { + // name: '', + // image: '.png', + url: { + page: 'scalar-kubernetes/K8sMonitorGuide', + }, + description: ( + + Kubernetes クラスター上の ScalarDLの監視 + + ), + }, + { + // name: '', + // image: '.png', + url: { + page: 'scalar-kubernetes/BackupRestoreGuide', + }, + description: ( + + Kubernetes 環境でデータをバックアップおよび復元する + + ), + }, +] + +const CardsReference = [ + { + // name: '', + // image: '.png', + url: { + page: 'compatibility', + }, + description: ( + + 互換性マトリックス + + ), + }, + { + // name: '', + // image: '.png', + url: { + page: 'scalardl-benchmarks', + }, + description: ( + + ベンチマークツール + + ), + }, +]; + +interface Props { + // name: string; + // image: string; + url: { + page?: string; + }; + description: JSX.Element; +} + +function Card({ /* name, image,*/ url, description }: Props) { + return ( +
+
+
+ {/* + } + */} +
+ +
+ {/*

{name}

*/} +

{description}

+
+ + {/*
+
+ + Read more + +
+
*/} +
+
+ ); +} + +export function CardRowAbout(): JSX.Element { + return ( +
+ {CardsAbout.map((special) => ( + + ))} +
+ ); +} + +export function CardRowGettingStarted(): JSX.Element { + return ( +
+ {CardsGettingStarted.map((special) => ( + + ))} +
+ ); +} + +export function CardRowSamples(): JSX.Element { + return ( +
+ {CardsSamples.map((special) => ( + + ))} +
+ ); +} + +export function CardRowDevelop(): JSX.Element { + return ( +
+ {CardsDevelop.map((special) => ( + + ))} +
+ ); +} + +export function CardRowDeploy(): JSX.Element { + return ( +
+ {CardsDeploy.map((special) => ( + + ))} +
+ ); +} + +export function CardRowManage(): JSX.Element { + return ( +
+ {CardsManage.map((special) => ( + + ))} +
+ ); +} +export function CardRowReference(): JSX.Element { + return ( +
+ {CardsReference.map((special) => ( + + ))} +
+ ); +} From c5aca2872f205ba8eb44a1659d5c6ba9715cb722 Mon Sep 17 00:00:00 2001 From: Josh Wong <23216828+josh-wong@users.noreply.github.com> Date: Wed, 4 Dec 2024 12:10:40 +0900 Subject: [PATCH 5/6] Create 3.8.tsx --- src/components/Cards/ja-jp/3.8.tsx | 307 +++++++++++++++++++++++++++++ 1 file changed, 307 insertions(+) create mode 100644 src/components/Cards/ja-jp/3.8.tsx diff --git a/src/components/Cards/ja-jp/3.8.tsx b/src/components/Cards/ja-jp/3.8.tsx new file mode 100644 index 00000000..b1b96cc0 --- /dev/null +++ b/src/components/Cards/ja-jp/3.8.tsx @@ -0,0 +1,307 @@ +/** + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */ + +/* eslint-disable global-require */ + +import React from 'react'; +import clsx from 'clsx'; +import Translate from '@docusaurus/Translate'; +import Link from '@docusaurus/Link'; + +const CardsAbout = [ + { + // name: '', + // image: '.png', + url: { + page: 'overview', + }, + description: ( + + 概要 + + ), + }, + { + // name: '', + // image: '.png', + url: { + page: 'implementation', + }, + description: ( + + 実装 + + ), + }, +] + +const CardsGettingStarted = [ + { + // name: '', + // image: '.png', + url: { + page: 'getting-started', + }, + description: ( + + ScalarDL Ledger をはじめよう + + ), + }, + { + // name: '', + // image: '.png', + url: { + page: 'getting-started-auditor', + }, + description: ( + + ScalarDL Auditor をはじめよう + + ), + }, +] + +const CardsSamples = [ + { + // name: '', + // image: '.png', + url: { + page: 'installation-with-docker', + }, + description: ( + + ローカル環境に ScalarDL をインストールする + + ), + }, + { + // name: '', + // image: '.png', + url: { + page: 'applications/simple-bank-account', + }, + description: ( + + 銀行口座申請を実行する + + ), + }, +] + +const CardsDevelop = [ + { + // name: 'For database engineers', + // image: '.png', + url: { + page: 'schema-loader', + }, + description: ( + + データベーススキーマをロードする + + ), + }, + { + // name: 'For infrastructure engineers', + // image: '.png', + url: { + page: 'ca/caclient-getting-started', + }, + description: ( + + 証明書を取得する + + ), + }, +] + +const CardsDeploy = [ + { + // name: '', + // image: '.png', + url: { + page: 'scalar-kubernetes/SetupDatabaseForAWS', + }, + description: ( + + AWS でデータベースをセットアップする + + ), + }, + { + // name: '', + // image: '.png', + url: { + page: 'scalar-kubernetes/ProductionChecklistForScalarDLLedger', + }, + description: ( + + ScalarDL Ledger の本番環境チェックリスト + + ), + }, +] + +const CardsManage = [ + { + // name: '', + // image: '.png', + url: { + page: 'scalar-kubernetes/K8sMonitorGuide', + }, + description: ( + + Kubernetes クラスター上の ScalarDLの監視 + + ), + }, + { + // name: '', + // image: '.png', + url: { + page: 'scalar-kubernetes/BackupRestoreGuide', + }, + description: ( + + Kubernetes 環境でデータをバックアップおよび復元する + + ), + }, +] + +const CardsReference = [ + { + // name: '', + // image: '.png', + url: { + page: 'compatibility', + }, + description: ( + + 互換性マトリックス + + ), + }, + { + // name: '', + // image: '.png', + url: { + page: 'scalardl-benchmarks', + }, + description: ( + + ベンチマークツール + + ), + }, +]; + +interface Props { + // name: string; + // image: string; + url: { + page?: string; + }; + description: JSX.Element; +} + +function Card({ /* name, image,*/ url, description }: Props) { + return ( +
+
+
+ {/* + } + */} +
+ +
+ {/*

{name}

*/} +

{description}

+
+ + {/*
+
+ + Read more + +
+
*/} +
+
+ ); +} + +export function CardRowAbout(): JSX.Element { + return ( +
+ {CardsAbout.map((special) => ( + + ))} +
+ ); +} + +export function CardRowGettingStarted(): JSX.Element { + return ( +
+ {CardsGettingStarted.map((special) => ( + + ))} +
+ ); +} + +export function CardRowSamples(): JSX.Element { + return ( +
+ {CardsSamples.map((special) => ( + + ))} +
+ ); +} + +export function CardRowDevelop(): JSX.Element { + return ( +
+ {CardsDevelop.map((special) => ( + + ))} +
+ ); +} + +export function CardRowDeploy(): JSX.Element { + return ( +
+ {CardsDeploy.map((special) => ( + + ))} +
+ ); +} + +export function CardRowManage(): JSX.Element { + return ( +
+ {CardsManage.map((special) => ( + + ))} +
+ ); +} +export function CardRowReference(): JSX.Element { + return ( +
+ {CardsReference.map((special) => ( + + ))} +
+ ); +} From e05fff79fdb2500a47e33f80df61ed73ed7c8bc0 Mon Sep 17 00:00:00 2001 From: Josh Wong <23216828+josh-wong@users.noreply.github.com> Date: Wed, 4 Dec 2024 12:25:02 +0900 Subject: [PATCH 6/6] Mark 3.7 as out of support --- .../ja-jp/docusaurus-plugin-content-docs/version-3.7.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/version-3.7.json b/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/version-3.7.json index 7abafbb6..aa874fa0 100644 --- a/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/version-3.7.json +++ b/i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/version-3.7.json @@ -1,6 +1,6 @@ { "version.label": { - "message": "3.7", + "message": "3.7 (サポートされていない)", "description": "The label for version 3.7" }, "sidebar.docs.category.About ScalarDL": {