sidebars.js 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  1. /*
  2. * Licensed to the Apache Software Foundation (ASF) under one or more
  3. * contributor license agreements. See the NOTICE file distributed with
  4. * this work for additional information regarding copyright ownership.
  5. * The ASF licenses this file to You under the Apache License, Version 2.0
  6. * (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. */
  17. /**
  18. * Creating a sidebar enables you to:
  19. - create an ordered group of docs
  20. - render a sidebar for each doc of that group
  21. - provide next/previous navigation
  22. The sidebars can be generated from the filesystem, or explicitly defined here.
  23. Create as many sidebars as you want.
  24. */
  25. // @ts-check
  26. /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
  27. const sidebars = {
  28. // By default, Docusaurus generates a sidebar from the docs folder structure
  29. // tutorialSidebar: [{type: 'autogenerated', dirName: '.'}],
  30. // But you can create a sidebar manually
  31. /*
  32. tutorialSidebar: [
  33. {
  34. type: 'category',
  35. label: 'Tutorial',
  36. items: ['hello'],
  37. },
  38. ],
  39. */
  40. "docs": [
  41. "about",
  42. {
  43. "type": "category",
  44. "label": "Quick Start - V2",
  45. "items": [
  46. {
  47. "type": "category",
  48. "label": "Start With Locally",
  49. "items": [
  50. {
  51. "type": "autogenerated",
  52. "dirName": "start-v2/locally"
  53. }
  54. ]
  55. },
  56. {
  57. "type": "category",
  58. "label": "Start With Docker",
  59. "items": [
  60. {
  61. "type": "autogenerated",
  62. "dirName": "start-v2/docker"
  63. }
  64. ]
  65. },
  66. {
  67. "type": "category",
  68. "label": "Start With K8s",
  69. "items": [
  70. {
  71. "type": "autogenerated",
  72. "dirName": "start-v2/kubernetes"
  73. }
  74. ]
  75. }
  76. ]
  77. },
  78. {
  79. "type": "category",
  80. "label": "Concept",
  81. "items": [
  82. "concept/config",
  83. "concept/connector-v2-features",
  84. 'concept/schema-feature',
  85. 'concept/JobEnvConfig'
  86. ]
  87. },
  88. "Connector-v2-release-state",
  89. {
  90. "type": "category",
  91. "label": "Connector-V2",
  92. "items": [
  93. {
  94. "type": "category",
  95. "label": "Source",
  96. "link": {
  97. "type": "generated-index",
  98. "title": "Source(V2) of SeaTunnel",
  99. "description": "List all source(v2) supported Apache SeaTunnel for now.",
  100. "slug": "/category/source-v2",
  101. "keywords": ["source"],
  102. "image": "/img/favicon.ico"
  103. },
  104. "items": [
  105. {
  106. "type": "autogenerated",
  107. "dirName": "connector-v2/source"
  108. }
  109. ]
  110. },
  111. {
  112. "type": "category",
  113. "label": "Sink",
  114. "link": {
  115. "type": "generated-index",
  116. "title": "Sink(V2) of SeaTunnel",
  117. "description": "List all sink(v2) supported Apache SeaTunnel for now.",
  118. "slug": "/category/sink-v2",
  119. "keywords": ["sink"],
  120. "image": "/img/favicon.ico"
  121. },
  122. "items": [
  123. {
  124. "type": "autogenerated",
  125. "dirName": "connector-v2/sink"
  126. }
  127. ]
  128. },
  129. "connector-v2/Error-Quick-Reference-Manual",
  130. "connector-v2/Config-Encryption-Decryption"
  131. ]
  132. },
  133. {
  134. "type": "category",
  135. "label": "Transform-V2",
  136. "link": {
  137. "type": "generated-index",
  138. "title": "Transform V2 of SeaTunnel",
  139. "description": "List all transform v2 supported Apache SeaTunnel for now.",
  140. "slug": "/category/transform-v2",
  141. "keywords": ["transform-v2"],
  142. "image": "/img/favicon.ico"
  143. },
  144. "items": [
  145. {
  146. "type": "autogenerated",
  147. "dirName": "transform-v2"
  148. }
  149. ]
  150. },
  151. {
  152. "type": "category",
  153. "label": "Command",
  154. "items": [
  155. "command/usage"
  156. ]
  157. },
  158. {
  159. "type": "category",
  160. "label": "SeaTunnel Engine",
  161. "items": [
  162. "seatunnel-engine/about",
  163. "seatunnel-engine/deployment",
  164. "seatunnel-engine/local-mode",
  165. "seatunnel-engine/cluster-mode",
  166. "seatunnel-engine/checkpoint-storage",
  167. "seatunnel-engine/rest-api",
  168. "seatunnel-engine/tcp"
  169. ]
  170. },
  171. {
  172. "type": "category",
  173. "label": "Other Engine",
  174. "items": [
  175. "other-engine/flink",
  176. "other-engine/spark"
  177. ]
  178. },
  179. {
  180. type: 'category',
  181. label: 'Contribution',
  182. items: [
  183. 'contribution/setup',
  184. 'contribution/new-license',
  185. 'contribution/coding-guide',
  186. 'contribution/contribute-transform-v2-guide',
  187. ],
  188. },
  189. "faq"
  190. ]
  191. };
  192. module.exports = sidebars