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