|
1 | 1 | export const nav = () => { |
2 | 2 | return [ |
3 | | - { text: 'Rest API', link: '/rest/introduction/getting-started', activeMatch: '/rest/' }, |
4 | | - { text: 'GraphQL', link: '/graphql/introduction/getting-started', activeMatch: '/graphql/' }, |
5 | | - { text: 'Multividas UI', link: '/multividas-ui/introduction/getting-started', activeMatch: '/multividas-ui/' }, |
| 3 | + { |
| 4 | + text: 'Developer Products', |
| 5 | + items: [ |
| 6 | + { text: 'Multividas', link: '/products/multividas/getting-started' }, |
| 7 | + { text: 'MultiChat', link: '/products/multichat/getting-started' }, |
| 8 | + ] |
| 9 | + }, |
| 10 | + { |
| 11 | + text: 'Open Source', |
| 12 | + items: [ |
| 13 | + { text: 'Multividas UI', link: '/open-source/multividas-ui/introduction/getting-started' } |
| 14 | + ] |
| 15 | + }, |
6 | 16 | { |
7 | 17 | text: 'Learn more', |
8 | 18 | items: [ |
9 | | - { text: 'Multividas', link: 'https://multividas.com' }, |
10 | 19 | { text: 'Contributing', link: 'https://github.com/multividas' }, |
11 | 20 | ] |
12 | 21 | } |
13 | 22 | ] |
14 | 23 | } |
15 | 24 |
|
16 | | -export const sidebarRestApi = () => { |
| 25 | +/** |
| 26 | + * Developer Products |
| 27 | + */ |
| 28 | +export const sidebarDeveloperProducts = () => { |
| 29 | + return [ |
| 30 | + |
| 31 | + ] |
| 32 | +}; |
| 33 | + |
| 34 | +export const sideBarMultividasRest = () => { |
17 | 35 | return [ |
18 | 36 | { |
19 | 37 | text: 'Introduction', |
20 | 38 | collapsed: false, |
21 | 39 | items: [ |
22 | | - { text: 'Getting Started', link: '/rest/introduction/getting-started' }, |
23 | | - { text: 'API Response Handling', link: '/rest/introduction/api-responser' }, |
24 | | - { text: 'Query Filters', link: '/rest/introduction/query-filters' }, |
25 | | - { text: 'Error Handling', link: '/rest/introduction/errors' }, |
| 40 | + { text: 'Getting Started', link: '/products/multividas/rest/introduction/getting-started' }, |
| 41 | + { text: 'API Response Handling', link: '/products/multividas/rest/introduction/api-responser' }, |
| 42 | + { text: 'Query Filters', link: '/products/multividas/rest/introduction/query-filters' }, |
| 43 | + { text: 'Error Handling', link: '/products/multividas/rest/introduction/errors' }, |
26 | 44 | ] |
27 | 45 | }, |
28 | 46 | { |
29 | 47 | text: 'Entities', |
30 | 48 | collapsed: true, |
31 | 49 | items: [ |
32 | | - { text: 'User', link: '/rest/entities/user' }, |
33 | | - { text: 'Thread', link: '/rest/entities/thread' }, |
34 | | - { text: 'Comment', link: '/rest/entities/comment' }, |
35 | | - { text: 'Tag', link: '/rest/entities/tag' }, |
| 50 | + { text: 'User', link: '/products/multividas/rest/entities/user' }, |
| 51 | + { text: 'Thread', link: '/products/multividas/rest/entities/thread' }, |
| 52 | + { text: 'Comment', link: '/products/multividas/rest/entities/comment' }, |
| 53 | + { text: 'Tag', link: '/products/multividas/rest/entities/tag' }, |
36 | 54 | ] |
37 | 55 | }, |
38 | 56 | { |
39 | 57 | text: 'User', |
40 | 58 | collapsed: true, |
41 | 59 | items: [ |
42 | | - { text: 'Getting Started', link: '/rest/users/getting-started' }, |
43 | | - { text: 'Get the authenticated user', link: '/rest/users/get-the-authenticated-user' }, |
44 | | - { text: 'Get user', link: '/rest/users/get-user' }, |
| 60 | + { text: 'Getting Started', link: '/products/multividas/rest/users/getting-started' }, |
| 61 | + { text: 'Get the authenticated user', link: '/products/multividas/rest/users/get-the-authenticated-user' }, |
| 62 | + { text: 'Get user', link: '/products/multividas/rest/users/get-user' }, |
45 | 63 | ] |
46 | 64 | }, |
47 | 65 | { |
48 | 66 | text: 'Thread', |
49 | 67 | collapsed: true, |
50 | 68 | items: [ |
51 | | - { text: 'Listing', link: '/rest/threads/listing' }, |
52 | | - { text: 'Show', link: '/rest/threads/show' }, |
53 | | - { text: 'Create', link: '/rest/threads/create' }, |
54 | | - { text: 'Delete', link: '/rest/threads/delete' }, |
55 | | - { text: 'Status', link: '/rest/threads/status' }, |
| 69 | + { text: 'Listing', link: '/products/multividas/rest/threads/listing' }, |
| 70 | + { text: 'Show', link: '/products/multividas/rest/threads/show' }, |
| 71 | + { text: 'Create', link: '/products/multividas/rest/threads/create' }, |
| 72 | + { text: 'Delete', link: '/products/multividas/rest/threads/delete' }, |
| 73 | + { text: 'Status', link: '/products/multividas/rest/threads/status' }, |
56 | 74 | ] |
57 | 75 | }, |
58 | 76 | { |
59 | 77 | text: 'Comment', |
60 | 78 | collapsed: true, |
61 | 79 | items: [ |
62 | | - { text: 'Listing', link: '/rest/comments/listing' }, |
63 | | - { text: 'Show', link: '/rest/comments/show' }, |
64 | | - { text: 'Create', link: '/rest/comments/create' }, |
65 | | - { text: 'Delete', link: '/rest/comments/delete' }, |
66 | | - { text: 'Status', link: '/rest/comments/status' }, |
| 80 | + { text: 'Listing', link: '/products/multividas/rest/comments/listing' }, |
| 81 | + { text: 'Show', link: '/products/multividas/rest/comments/show' }, |
| 82 | + { text: 'Create', link: '/products/multividas/rest/comments/create' }, |
| 83 | + { text: 'Delete', link: '/products/multividas/rest/comments/delete' }, |
| 84 | + { text: 'Status', link: '/products/multividas/rest/comments/status' }, |
67 | 85 | ] |
68 | 86 | }, |
69 | 87 | { |
70 | 88 | text: 'Tag', |
71 | 89 | collapsed: true, |
72 | 90 | items: [ |
73 | | - { text: 'Listing', link: '/rest/tags/listing' }, |
| 91 | + { text: 'Listing', link: '/products/multividas/rest/tags/listing' }, |
74 | 92 | ] |
75 | 93 | }, |
76 | 94 | ] |
77 | 95 | } |
78 | 96 |
|
79 | | -export const sidebarGraphQL = () => { |
| 97 | +export const sideBarMultividasGraphql = () => { |
80 | 98 | return [ |
81 | 99 | { |
82 | 100 | text: 'Introduction', |
83 | 101 | collapsed: false, |
84 | 102 | items: [ |
85 | | - { text: 'Getting Started', link: '/graphql/introduction/getting-started' }, |
| 103 | + { text: 'Getting Started', link: '/products/multividas/graphql/introduction/getting-started' }, |
86 | 104 | ] |
87 | 105 | }, |
88 | 106 | ] |
89 | 107 | } |
90 | 108 |
|
| 109 | +export const sidebarMultiChat = () => { |
| 110 | + return [ |
| 111 | + { |
| 112 | + text: 'Introduction', |
| 113 | + collapsed: false, |
| 114 | + items: [ |
| 115 | + { text: 'Getting Started', link: '/products/multichat/getting-started' }, |
| 116 | + ] |
| 117 | + } |
| 118 | + ] |
| 119 | +} |
| 120 | + |
| 121 | +/** |
| 122 | + * Open Source |
| 123 | + */ |
| 124 | +export const sidebarOpenSource = () => { |
| 125 | + return [ |
| 126 | + |
| 127 | + ] |
| 128 | +}; |
| 129 | + |
91 | 130 | export const sidebarMultividasUi = () => { |
92 | 131 | return [ |
93 | 132 | { |
94 | 133 | text: 'Introduction', |
95 | 134 | collapsed: false, |
96 | 135 | items: [ |
97 | | - { text: 'Getting Started', link: '/multividas-ui/introduction/getting-started' }, |
| 136 | + { text: 'Getting Started', link: '/open-source/multividas-ui/introduction/getting-started' }, |
98 | 137 | ] |
99 | 138 | }, |
100 | 139 | { |
101 | 140 | text: 'Icons', |
102 | 141 | collapsed: false, |
103 | 142 | items: [ |
104 | | - { text: 'Installation', link: '/multividas-ui/icons/installation' }, |
105 | | - { text: 'Explore Icons', link: '/multividas-ui/icons/explore' }, |
| 143 | + { text: 'Installation', link: '/open-source/multividas-ui/icons/installation' }, |
| 144 | + { text: 'Explore Icons', link: '/open-source/multividas-ui/icons/explore' }, |
106 | 145 | ] |
107 | 146 | }, |
108 | 147 | ] |
|
0 commit comments