Raw
1 /** @type {import('types').Sidebar.SidebarItem[]} */
2 export const translationSidebar = [
3 {
4 type: "sidebar",
5 sidebar_id: "translation",
6 title: "Translation Module",
7 children: [
8 {
9 type: "link",
10 path: "/commerce-modules/translation",
11 title: "Overview",
12 },
13 {
14 type: "separator",
15 },
16 {
17 type: "category",
18 title: "Concepts",
19 children: [
20 {
21 type: "link",
22 path: "/commerce-modules/translation/concepts",
23 title: "Concepts",
24 },
25 {
26 type: "link",
27 path: "/commerce-modules/translation/custom-data-models",
28 title: "Translate Custom Models",
29 },
30 {
31 type: "link",
32 path: "/commerce-modules/translation/storefront",
33 title: "Translation in Storefront",
34 },
35 {
36 type: "link",
37 path: "/commerce-modules/translation/links-to-other-modules",
38 title: "Link to Modules",
39 },
40 ],
41 },
42 {
43 type: "category",
44 title: "Server Guides",
45 autogenerate_tags: "server+translation",
46 autogenerate_as_ref: true,
47 sort_sidebar: "alphabetize",
48 description:
49 "Learn how to use the Translation Module in your customizations on the Medusa application server.",
50 },
51 {
52 type: "category",
53 title: "Storefront Guides",
54 autogenerate_tags: "storefront+translation,-jsSdk",
55 autogenerate_as_ref: true,
56 sort_sidebar: "alphabetize",
57 description:
58 "Learn how to integrate the Translation Module's features into your storefront.",
59 },
60 {
61 type: "category",
62 title: "Admin Guides",
63 autogenerate_tags: "admin+translation,-jsSdk",
64 autogenerate_as_ref: true,
65 sort_sidebar: "alphabetize",
66 description:
67 "Learn how to utilize administrative features of the Translation Module.",
68 },
69 {
70 type: "category",
71 title: "Admin User Guides",
72 autogenerate_tags: "userGuide+translation",
73 autogenerate_as_ref: true,
74 sort_sidebar: "alphabetize",
75 description:
76 "Learn how to utilize and manage Translation features in the Medusa Admin dashboard.",
77 },
78 {
79 type: "category",
80 title: "References",
81 description:
82 "Find references for tools and resources related to the Translation Module, such as data models, methods, and more. These are useful for your customizations.",
83 children: [
84 {
85 type: "link",
86 path: "/commerce-modules/translation/workflows",
87 title: "Workflows",
88 hideChildren: true,
89 children: [
90 {
91 type: "category",
92 title: "Workflows",
93 autogenerate_tags: "workflow+translation",
94 autogenerate_as_ref: true,
95 sort_sidebar: "alphabetize",
96 },
97 {
98 type: "category",
99 title: "Steps",
100 autogenerate_tags: "step+translation",
101 autogenerate_as_ref: true,
102 sort_sidebar: "alphabetize",
103 },
104 ],
105 },
106 {
107 type: "link",
108 path: "/commerce-modules/translation/js-sdk",
109 title: "JS SDK",
110 hideChildren: true,
111 children: [
112 {
113 type: "sub-category",
114 title: "Store",
115 autogenerate_tags: "jsSdk+storefront+translation",
116 description:
117 "The following methods or properties are used to send requests to Store API Routes related to the Translation Module.",
118 autogenerate_as_ref: true,
119 sort_sidebar: "alphabetize",
120 },
121 {
122 type: "sub-category",
123 title: "Admin",
124 autogenerate_tags: "jsSdk+admin+translation",
125 description:
126 "The following methods or properties are used to send requests to Admin API Routes related to the Translation Module.",
127 autogenerate_as_ref: true,
128 sort_sidebar: "alphabetize",
129 },
130 ],
131 },
132 {
133 type: "sidebar",
134 sidebar_id: "translation-service-reference",
135 title: "Main Service Reference",
136 childSidebarTitle: "Translation Module's Main Service Reference",
137 children: [
138 {
139 type: "link",
140 path: "/references/translation",
141 title: "Reference Overview",
142 },
143 {
144 type: "separator",
145 },
146 {
147 type: "category",
148 title: "Methods",
149 hasTitleStyling: true,
150 autogenerate_path:
151 "/references/translation/ITranslationModuleService/methods",
152 },
153 ],
154 },
155 {
156 type: "sidebar",
157 sidebar_id: "translation-models-reference",
158 title: "Data Models Reference",
159 childSidebarTitle: "Translation Module Data Models Reference",
160 children: [
161 {
162 type: "link",
163 path: "/references/translation/models",
164 title: "Reference Overview",
165 },
166 {
167 type: "separator",
168 },
169 {
170 type: "category",
171 title: "Data Models",
172 hasTitleStyling: true,
173 autogenerate_path: "/references/translation_models/variables",
174 },
175 ],
176 },
177 ],
178 },
179 ],
180 },
181 ]