on master help sign in
converted remaining instances of dataPath to src
ac8530fAnton Dyudin
docs/programming/reference/runes.md+13−13
@@ -13,72 +13,72 @@ Runes
13
13
14## `$ buc` (molds)
14## `$ buc` (molds)
15
15
16−<list dataPath="docs/system/hoon/runes/bc" dataPreview="true" className="runes" childIsFragment="true"></list>
16+<list src="bc" dataPreview="true" className="runes" childIsFragment="true"></list>
17
17
18---
18---
19
19
20## `| bar` (cores)
20## `| bar` (cores)
21
21
22−<list dataPath="docs/system/hoon/runes/br" dataPreview="true" className="runes" childIsFragment="true"></list>
22+<list src="br" dataPreview="true" className="runes" childIsFragment="true"></list>
23
23
24---
24---
25
25
26## `: col` (tuples)
26## `: col` (tuples)
27
27
28−<list dataPath="docs/system/hoon/runes/cl" dataPreview="true" className="runes" childIsFragment="true"></list>
28+<list src="cl" dataPreview="true" className="runes" childIsFragment="true"></list>
29
29
30---
30---
31
31
32## `% cen` (invocations)
32## `% cen` (invocations)
33
33
34−<list dataPath="docs/system/hoon/runes/cn" dataPreview="true" className="runes" childIsFragment="true"></list>
34+<list src="cn" dataPreview="true" className="runes" childIsFragment="true"></list>
35
35
36---
36---
37
37
38## `. dot` (nock)
38## `. dot` (nock)
39
39
40−<list dataPath="docs/system/hoon/runes/dt" dataPreview="true" className="runes" childIsFragment="true"></list>
40+<list src="dt" dataPreview="true" className="runes" childIsFragment="true"></list>
41
41
42---
42---
43
43
44## `# hax` (printing)
44## `# hax` (printing)
45
45
46−<list dataPath="docs/system/hoon/runes/hx" dataPreview="true" className="runes" childIsFragment="true"></list>
46+<list src="hx" dataPreview="true" className="runes" childIsFragment="true"></list>
47
47
48---
48---
49
49
50## `^ ket` (casting)
50## `^ ket` (casting)
51
51
52−<list dataPath="docs/system/hoon/runes/kt" dataPreview="true" className="runes" childIsFragment="true"></list>
52+<list src="kt" dataPreview="true" className="runes" childIsFragment="true"></list>
53
53
54---
54---
55
55
56## `~ sig` (hints)
56## `~ sig` (hints)
57
57
58−<list dataPath="docs/system/hoon/runes/sg" dataPreview="true" className="runes" childIsFragment="true"></list>
58+<list src="sg" dataPreview="true" className="runes" childIsFragment="true"></list>
59
59
60---
60---
61
61
62## `; sem` (composition)
62## `; sem` (composition)
63
63
64−<list dataPath="docs/system/hoon/runes/sm" dataPreview="true" className="runes" childIsFragment="true"></list>
64+<list src="sm" dataPreview="true" className="runes" childIsFragment="true"></list>
65
65
66---
66---
67
67
68## `= tis` (subject modifiers)
68## `= tis` (subject modifiers)
69
69
70−<list dataPath="docs/system/hoon/runes/ts" dataPreview="true" className="runes" childIsFragment="true"></list>
70+<list src="ts" dataPreview="true" className="runes" childIsFragment="true"></list>
71
71
72---
72---
73
73
74## `? wut` (conditional)
74## `? wut` (conditional)
75
75
76−<list dataPath="docs/system/hoon/runes/wt" dataPreview="true" className="runes" childIsFragment="true"></list>
76+<list src="wt" dataPreview="true" className="runes" childIsFragment="true"></list>
77
77
78---
78---
79
79
80## `! zap` (special)
80## `! zap` (special)
81
81
82−<list dataPath="docs/system/hoon/runes/zp" dataPreview="true" className="runes" childIsFragment="true"></list>
82+<list src="zp" dataPreview="true" className="runes" childIsFragment="true"></list>
83
83
84−</div>
84+</div>
docs/using/setup.md+2−2
@@ -85,8 +85,8 @@ which indicates the command was processed.
85
85
86We go into much greater detail about using each of these components in our walkthroughs:
86We go into much greater detail about using each of these components in our walkthroughs:
87
87
88−<list dataPath="/docs/walkthroughs"></list>
88+<list src="."></list>
89
89
90With your Urbit up and running you know enough to start learning to program:
90With your Urbit up and running you know enough to start learning to program:
91
91
92−<list dataPath="/docs/deep-dives"></list>
92+<list src="../programming/deep"></list>
docs/using/web.md+7−7
@@ -42,7 +42,7 @@ Now modify `/home/web/test.md` to list the children using the `<list/>` JSX:
42
42
43 This is a simple markdown file.
43 This is a simple markdown file.
44
44
45− <div><list /></div>
45+ <div><list / />
46
46
47To view your file as raw `md`:
47To view your file as raw `md`:
48
48
@@ -148,31 +148,31 @@ For those familiar with React / Flux each JSX tag corresponds to a component in
148
148
149### `<list>`
149### `<list>`
150
150
151−Example: `<list dataPath="/posts" titlesOnly="true"></list>`
151+Example: `<list src="/posts" titlesOnly="true" />`
152
152
153Creates a list of children at a path. Defaults to the current path.
153Creates a list of children at a path. Defaults to the current path.
154
154
155Optional properties:
155Optional properties:
156
156
157−- `dataPath`: Path to load kids from.
157+- `src`: Path to load kids from.
158- `titlesOnly`: Only show the 'title' which is either the filename or the first h1.
158- `titlesOnly`: Only show the 'title' which is either the filename or the first h1.
159- `sortBy`: Can be `date` if items have a `date` YAML.
159- `sortBy`: Can be `date` if items have a `date` YAML.
160- `className`: Class to be assigned to the container.
160- `className`: Class to be assigned to the container.
161
161
162### `<kids>`
162### `<kids>`
163
163
164−Example: `<kids dataPath="/posts"></kids>`
164+Example: `<kids src="/posts" />`
165
165
166Includes all the children at the specified path separated by `<hr>` tags.
166Includes all the children at the specified path separated by `<hr>` tags.
167
167
168Optional properties:
168Optional properties:
169
169
170−- `dataPath`: Path to load kids from.
170+- `src`: Path to load kids from.
171- `className`: Class to be assigned to the container.
171- `className`: Class to be assigned to the container.
172
172
173### `<toc>`
173### `<toc>`
174
174
175−Example: `<toc noHeader="true"></toc>`
175+Example: `<toc noHeader="true" />`
176
176
177Creates a table of contents from the `h1` - `h6` tags on the page.
177Creates a table of contents from the `h1` - `h6` tags on the page.
178
178
@@ -244,7 +244,7 @@ Talk, for example, looks like this:
244 <script src="/~~/~/at/lib/js/urb.js" />
244 <script src="/~~/~/at/lib/js/urb.js" />
245 <script src="/talk/main.js" />
245 <script src="/talk/main.js" />
246 <link href="/talk/main.css" rel="stylesheet" />
246 <link href="/talk/main.css" rel="stylesheet" />
247− <talk></talk>
247+ <talk />
248</module>
248</module>
249```
249```
250
250