Skip to content

Commit 0e359aa

Browse files
authored
website: Show a listing of products (enactic#20)
1 parent 6508ef5 commit 0e359aa

File tree

13 files changed

+90
-42
lines changed

13 files changed

+90
-42
lines changed

website/docs/index.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

website/docs/index.mdx

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
---
2+
sidebar_position: 1
3+
---
4+
5+
# DAMIAOモーター
6+
7+
DAMIAO モーター - 高精度・高安定性のロボットジョイント用モーター。
8+
9+
```mdx-code-block
10+
import DocCardList from '@theme/DocCardList';
11+
import {useDocById} from '@docusaurus/plugin-content-docs/client';
12+
13+
export const ProductsList = () => {
14+
const productDocIds = [
15+
'products/dm-j4310-2ec-v1.1',
16+
'products/dm-j4340-2ec-v1.0',
17+
'products/dm-j4340p-2ec-v1.0',
18+
'products/dm-j8009p-2ec-v1.0',
19+
];
20+
const items = productDocIds.map((id) => {
21+
const doc = useDocById(id);
22+
return {
23+
type: 'link',
24+
label: doc.title,
25+
href: doc.id,
26+
docId: doc.id,
27+
description: doc.description,
28+
};
29+
})
30+
return <DocCardList items={items} />;
31+
};
32+
33+
<ProductsList />
34+
```

website/docs/products/_category_.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

website/docs/products/dm-j4310-2ec-v1.1.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
import BlockImage from '@site/src/components/BlockImage';
1+
---
2+
description: DM-J4310-2EC V1.1の日本語のマニュアルです。
3+
---
24

35
# DM-J4310-2EC V1.1 減速モーター
46

7+
```mdx-code-block
8+
import BlockImage from '@site/src/components/BlockImage';
9+
```
10+
511
[原文の使用説明書(中国語)](/pdf/products/dm-j4310-2ec-v1.1-zh.pdf)
612

713
本サイト全体のライセンスはApache License 2.0ですが、本資料および原文の資料にはライセンスを設定しません。

website/docs/products/dm-j4340-2ec-v1.0.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
import BlockImage from '@site/src/components/BlockImage';
1+
---
2+
description: DM-J4340-2EC 減速モーターの日本語のマニュアルです。
3+
---
24

35
# DM-J4340-2EC 減速モーター
46

7+
```mdx-code-block
8+
import BlockImage from '@site/src/components/BlockImage';
9+
```
10+
511
[原文の使用説明書(中国語)](/pdf/products/dm-j4340-2ec-v1.0-zh.pdf)
612

713
本サイト全体のライセンスはApache License 2.0ですが、本資料および原文の資料にはライセンスを設定しません。

website/docs/products/dm-j4340p-2ec-v1.0.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
import BlockImage from '@site/src/components/BlockImage';
1+
---
2+
description: DM-J4340P-2EC 減速モーターの日本語のマニュアルです。
3+
---
24

35
# DM-J4340P-2EC 減速モーター
46

7+
```mdx-code-block
8+
import BlockImage from '@site/src/components/BlockImage';
9+
```
10+
511
[原文の使用説明書(中国語)](/pdf/products/dm-j4340p-2ec-v1.0-zh.pdf)
612

713
本サイト全体のライセンスはApache License 2.0ですが、本資料および原文の資料にはライセンスを設定しません。

website/docs/products/dm-j8009p-2ec-v1.0.mdx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
1-
import BlockImage from '@site/src/components/BlockImage';
1+
---
2+
description: DM-J8009P-2EC 減速モーター(クロスローラーベアリング)の日本語のマニュアルです。
3+
---
24

35
# DM-J8009P-2EC 減速モーター(クロスローラーベアリング)
46

7+
```mdx-code-block
8+
import BlockImage from '@site/src/components/BlockImage';
9+
```
10+
511
[原文の使用説明書(中国語)](/pdf/products/dm-j8009p-2ec-v1.0-zh.pdf)
612

713
本サイト全体のライセンスはApache License 2.0ですが、本資料および原文の資料にはライセンスを設定しません。

website/docs/products/index.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

website/docs/products/index.mdx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
sidebar_position: 2
3+
---
4+
5+
# Products
6+
7+
```mdx-code-block
8+
import DocCardList from '@theme/DocCardList';
9+
10+
<DocCardList />
11+
```

website/docusaurus.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,7 @@ const config: Config = {
9696
},
9797
items: [
9898
{
99-
type: 'docSidebar',
100-
sidebarId: 'productsSidebar',
99+
to: 'products',
101100
position: 'left',
102101
label: 'Products',
103102
},

0 commit comments

Comments
 (0)