on master help sign in
change the order of the getting started and introduction
d097b08Anthony Arroyo
partials/sidebar.hoon+83−83
@@ -188,89 +188,6 @@
188 ==
188 ==
189^- manx
189^- manx
190;ol.list-reset.h-font.mt-6
190;ol.list-reset.h-font.mt-6
191− :: section: Introduction
192− ;li.mb-4
193− ;a.h-font.text-600(href "/docs/introduction"): Introduction
194− ;ol
195− ;* %+ turn
196− %+ sort
197− ~(tap by -.+.intro-list)
198− |= $: $= a
199− %+ pair knot
200− $:
201− (map knot cord)
202− (map knot [(map knot cord) (map knot (map knot cord)) ~])
203− ~
204− ==
205− $= b
206− %+ pair knot
207− $:
208− (map knot cord)
209− (map knot [(map knot cord) (map knot (map knot cord)) ~])
210− ~
211− ==
212− ==
213− =/ sort-a (slav %ud (fall (~(get by -.q.a) %sort) '100.000'))
214− =/ sort-b (slav %ud (fall (~(get by -.q.b) %sort) '100.000'))
215− (lth sort-a sort-b)
216− |= $= a
217− %+ pair knot
218− $:
219− (map knot cord)
220− (map knot [(map knot cord) (map knot (map knot cord)) ~])
221− ~
222− ==
223− =/ title (~(get by -.q.a) %title)
224− =/ parent p.a
225− =/ one
226− ;ol.list-reset.h-font
227− ;*
228− %+ turn
229− %+ sort ~(tap by -.+.q.a)
230− |= $: $= a
231− %+ pair knot [(map knot cord) (map knot (map knot cord)) ~]
232− $= b
233− %+ pair knot [(map knot cord) (map knot (map knot cord)) ~]
234− ==
235− =/ sort-a (slav %ud (fall (~(get by -.q.a) %sort) '100.000'))
236− =/ sort-b (slav %ud (fall (~(get by -.q.b) %sort) '100.000'))
237− (lth sort-a sort-b)
238− |= $= b
239− %+ pair knot [(map knot cord) (map knot (map knot cord)) ~]
240− =/ oneparen p.b
241− =/ onetitle (~(get by -.q.b) %title)
242− =/ two
243− ;ol.list-reset.h-font
244− ;*
245− %+ turn
246− %+ sort ~(tap by -.+.q.b)
247− |= $: $= a (pair knot (map knot cord))
248− $= b (pair knot (map knot cord))
249− ==
250− =/ sort-a (slav %ud (fall (~(get by q.a) %sort) '100.000'))
251− =/ sort-b (slav %ud (fall (~(get by q.b) %sort) '100.000'))
252− (lth sort-a sort-b)
253−
254− |= $= c (pair knot (map knot cord))
255− =/ twoparen p.c
256− =/ sectitle (fall (~(get by q.c) %title) '')
257− ;li
258− ;a.h-font(href "/docs/introduction/{(trip parent)}/{(trip oneparen)}/{(trip twoparen)}"): {(trip sectitle)}
259− ==
260− ==
261− ?~ onetitle
262− ;li;
263− ;li
264− ;a.h-font(href "/docs/introduction/{(trip parent)}/{(trip oneparen)}"): {(trip (need onetitle))}
265− ;+ two
266− ==
267− ==
268− ;li
269− ;a.h-font(href "/docs/introduction/{(trip parent)}"): {(trip (need title))}
270− ;+ one
271− ==
272− ==
273− ==
274:: section: getting started
191:: section: getting started
275 ;li.mb-4
192 ;li.mb-4
276 ;a.h-font.text-600(href "/docs/getting-started"): Getting Started
193 ;a.h-font.text-600(href "/docs/getting-started"): Getting Started
@@ -354,6 +271,89 @@
354 ==
271 ==
355 ==
272 ==
356 ==
273 ==
274+ :: section: Introduction
275+ ;li.mb-4
276+ ;a.h-font.text-600(href "/docs/introduction"): Introduction
277+ ;ol
278+ ;* %+ turn
279+ %+ sort
280+ ~(tap by -.+.intro-list)
281+ |= $: $= a
282+ %+ pair knot
283+ $:
284+ (map knot cord)
285+ (map knot [(map knot cord) (map knot (map knot cord)) ~])
286+ ~
287+ ==
288+ $= b
289+ %+ pair knot
290+ $:
291+ (map knot cord)
292+ (map knot [(map knot cord) (map knot (map knot cord)) ~])
293+ ~
294+ ==
295+ ==
296+ =/ sort-a (slav %ud (fall (~(get by -.q.a) %sort) '100.000'))
297+ =/ sort-b (slav %ud (fall (~(get by -.q.b) %sort) '100.000'))
298+ (lth sort-a sort-b)
299+ |= $= a
300+ %+ pair knot
301+ $:
302+ (map knot cord)
303+ (map knot [(map knot cord) (map knot (map knot cord)) ~])
304+ ~
305+ ==
306+ =/ title (~(get by -.q.a) %title)
307+ =/ parent p.a
308+ =/ one
309+ ;ol.list-reset.h-font
310+ ;*
311+ %+ turn
312+ %+ sort ~(tap by -.+.q.a)
313+ |= $: $= a
314+ %+ pair knot [(map knot cord) (map knot (map knot cord)) ~]
315+ $= b
316+ %+ pair knot [(map knot cord) (map knot (map knot cord)) ~]
317+ ==
318+ =/ sort-a (slav %ud (fall (~(get by -.q.a) %sort) '100.000'))
319+ =/ sort-b (slav %ud (fall (~(get by -.q.b) %sort) '100.000'))
320+ (lth sort-a sort-b)
321+ |= $= b
322+ %+ pair knot [(map knot cord) (map knot (map knot cord)) ~]
323+ =/ oneparen p.b
324+ =/ onetitle (~(get by -.q.b) %title)
325+ =/ two
326+ ;ol.list-reset.h-font
327+ ;*
328+ %+ turn
329+ %+ sort ~(tap by -.+.q.b)
330+ |= $: $= a (pair knot (map knot cord))
331+ $= b (pair knot (map knot cord))
332+ ==
333+ =/ sort-a (slav %ud (fall (~(get by q.a) %sort) '100.000'))
334+ =/ sort-b (slav %ud (fall (~(get by q.b) %sort) '100.000'))
335+ (lth sort-a sort-b)
336+
337+ |= $= c (pair knot (map knot cord))
338+ =/ twoparen p.c
339+ =/ sectitle (fall (~(get by q.c) %title) '')
340+ ;li
341+ ;a.h-font(href "/docs/introduction/{(trip parent)}/{(trip oneparen)}/{(trip twoparen)}"): {(trip sectitle)}
342+ ==
343+ ==
344+ ?~ onetitle
345+ ;li;
346+ ;li
347+ ;a.h-font(href "/docs/introduction/{(trip parent)}/{(trip oneparen)}"): {(trip (need onetitle))}
348+ ;+ two
349+ ==
350+ ==
351+ ;li
352+ ;a.h-font(href "/docs/introduction/{(trip parent)}"): {(trip (need title))}
353+ ;+ one
354+ ==
355+ ==
356+ ==
357:: section: learn
357:: section: learn
358;li.mb-4
358;li.mb-4
359 ;a.h-font.text-600(href "/docs/learn"): Learn
359 ;a.h-font.text-600(href "/docs/learn"): Learn