@@ -47,14 +47,14 @@ const config: Config = {
4747 label : 'Getting Started' ,
4848 to : 'docs/start-introduction' ,
4949 } ,
50- {
51- label : 'API' ,
52- to : 'docs/api/core' ,
53- } ,
5450 {
5551 label : 'Example' ,
5652 to : 'docs/example/load-graph' ,
5753 } ,
54+ {
55+ label : 'Api' ,
56+ to : 'docs/api/core' ,
57+ } ,
5858 {
5959 type : 'doc' ,
6060 docId : 'changelog' ,
@@ -71,6 +71,11 @@ const config: Config = {
7171 label : 'GitHub' ,
7272 position : 'right' ,
7373 } ,
74+ {
75+ href : 'https://www.npmjs.com/org/react-sigma' ,
76+ label : 'NPM' ,
77+ position : 'right' ,
78+ } ,
7479 ] ,
7580 } ,
7681 footer : {
@@ -147,12 +152,28 @@ const config: Config = {
147152 watch : false ,
148153 out : 'docs/api/core' ,
149154 readme : 'none' ,
150- sidebar : {
151- categoryLabel : 'core' ,
152- indexLabel : 'core' ,
153- position : 0 ,
154- fullNames : true ,
155- } ,
155+ } ,
156+ ] ,
157+ [
158+ 'docusaurus-plugin-typedoc' ,
159+ {
160+ id : 'graph-search' ,
161+ entryPoints : [ '../graph-search/src/index.ts' ] ,
162+ tsconfig : '../graph-search/tsconfig.json' ,
163+ watch : false ,
164+ out : 'docs/api/graph-search' ,
165+ readme : 'none' ,
166+ } ,
167+ ] ,
168+ [
169+ 'docusaurus-plugin-typedoc' ,
170+ {
171+ id : 'minimap' ,
172+ entryPoints : [ '../minimap/src/index.ts' ] ,
173+ tsconfig : '../minimap/tsconfig.json' ,
174+ watch : false ,
175+ out : 'docs/api/minimap' ,
176+ readme : 'none' ,
156177 } ,
157178 ] ,
158179 [
@@ -164,12 +185,6 @@ const config: Config = {
164185 watch : false ,
165186 out : 'docs/api/layout-core' ,
166187 readme : 'none' ,
167- sidebar : {
168- categoryLabel : 'layout-core' ,
169- indexLabel : 'layout-core' ,
170- position : 1 ,
171- fullNames : true ,
172- } ,
173188 } ,
174189 ] ,
175190 [
@@ -181,12 +196,6 @@ const config: Config = {
181196 watch : false ,
182197 out : 'docs/api/layout-random' ,
183198 readme : 'none' ,
184- sidebar : {
185- categoryLabel : 'layout-random' ,
186- indexLabel : 'layout-random' ,
187- position : 2 ,
188- fullNames : true ,
189- } ,
190199 } ,
191200 ] ,
192201 [
@@ -198,12 +207,6 @@ const config: Config = {
198207 watch : false ,
199208 out : 'docs/api/layout-circular' ,
200209 readme : 'none' ,
201- sidebar : {
202- categoryLabel : 'layout-circular' ,
203- indexLabel : 'layout-circular' ,
204- position : 3 ,
205- fullNames : true ,
206- } ,
207210 } ,
208211 ] ,
209212 [
@@ -215,12 +218,6 @@ const config: Config = {
215218 watch : false ,
216219 out : 'docs/api/layout-circlepack' ,
217220 readme : 'none' ,
218- sidebar : {
219- categoryLabel : 'layout-circlepack' ,
220- indexLabel : 'layout-circlepack' ,
221- position : 4 ,
222- fullNames : true ,
223- } ,
224221 } ,
225222 ] ,
226223 [
@@ -232,12 +229,6 @@ const config: Config = {
232229 watch : false ,
233230 out : 'docs/api/layout-forceatlas2' ,
234231 readme : 'none' ,
235- sidebar : {
236- categoryLabel : 'layout-forceatlas2' ,
237- indexLabel : 'layout-forceatlas2' ,
238- position : 5 ,
239- fullNames : true ,
240- } ,
241232 } ,
242233 ] ,
243234 [
@@ -249,12 +240,6 @@ const config: Config = {
249240 watch : false ,
250241 out : 'docs/api/layout-force' ,
251242 readme : 'none' ,
252- sidebar : {
253- categoryLabel : 'layout-force' ,
254- indexLabel : 'layout-force' ,
255- position : 6 ,
256- fullNames : true ,
257- } ,
258243 } ,
259244 ] ,
260245 [
@@ -266,46 +251,6 @@ const config: Config = {
266251 watch : false ,
267252 out : 'docs/api/layout-noverlap' ,
268253 readme : 'none' ,
269- sidebar : {
270- categoryLabel : 'layout-noverlap' ,
271- indexLabel : 'layout-noverlap' ,
272- position : 7 ,
273- fullNames : true ,
274- } ,
275- } ,
276- ] ,
277- [
278- 'docusaurus-plugin-typedoc' ,
279- {
280- id : 'graph-search' ,
281- entryPoints : [ '../graph-search/src/index.ts' ] ,
282- tsconfig : '../graph-search/tsconfig.json' ,
283- watch : false ,
284- out : 'docs/api/graph-search' ,
285- readme : 'none' ,
286- sidebar : {
287- categoryLabel : 'graph-search' ,
288- indexLabel : 'graph-search' ,
289- position : 8 ,
290- fullNames : true ,
291- } ,
292- } ,
293- ] ,
294- [
295- 'docusaurus-plugin-typedoc' ,
296- {
297- id : 'minimap' ,
298- entryPoints : [ '../minimap/src/index.ts' ] ,
299- tsconfig : '../minimap/tsconfig.json' ,
300- watch : false ,
301- out : 'docs/api/minimap' ,
302- readme : 'none' ,
303- sidebar : {
304- categoryLabel : 'minimap' ,
305- indexLabel : 'graph-minimap' ,
306- position : 9 ,
307- fullNames : true ,
308- } ,
309254 } ,
310255 ] ,
311256 function ( _context , _options ) {
0 commit comments