on master help sign in
converted remaining instances of dataPath to src
commitac8530fb3ed0b4e81d8f6e137e1be8c7ed966965 authorAnton Dyudin <ohAitch@gmail.com> dateFri 15 Apr 2016, 13:34 (11 years ago) parent93773de
3 files changed+22−22
docs/programming/reference/runes.md+13−13 docs/using/setup.md+2−2 docs/using/web.md+7−7
docs/programming/reference/runes.md+13−13
@@ -13,72 +13,72 @@ Runes
1313
1414## `$ buc` (molds)
1515
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>
1717
1818---
1919
2020## `| bar` (cores)
2121
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>
2323
2424---
2525
2626## `: col` (tuples)
2727
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>
2929
3030---
3131
3232## `% cen` (invocations)
3333
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>
3535
3636---
3737
3838## `. dot` (nock)
3939
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>
4141
4242---
4343
4444## `# hax` (printing)
4545
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>
4747
4848---
4949
5050## `^ ket` (casting)
5151
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>
5353
5454---
5555
5656## `~ sig` (hints)
5757
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>
5959
6060---
6161
6262## `; sem` (composition)
6363
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>
6565
6666---
6767
6868## `= tis` (subject modifiers)
6969
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>
7171
7272---
7373
7474## `? wut` (conditional)
7575
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>
7777
7878---
7979
8080## `! zap` (special)
8181
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>
8383
84−</div>
84+</div>
docs/using/setup.md+2−2
@@ -85,8 +85,8 @@ which indicates the command was processed.
8585
8686We go into much greater detail about using each of these components in our walkthroughs:
8787
88−<list dataPath="/docs/walkthroughs"></list>
88+<list src="."></list>
8989
9090With your Urbit up and running you know enough to start learning to program:
9191
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:
4242
4343 This is a simple markdown file.
4444
45− <div><list /></div>
45+ <div><list / />
4646
4747To view your file as raw `md`:
4848
@@ -148,31 +148,31 @@ For those familiar with React / Flux each JSX tag corresponds to a component in
148148
149149### `<list>`
150150
151−Example: `<list dataPath="/posts" titlesOnly="true"></list>`
151+Example: `<list src="/posts" titlesOnly="true" />`
152152
153153Creates a list of children at a path. Defaults to the current path.
154154
155155Optional properties:
156156
157−- `dataPath`: Path to load kids from.
157+- `src`: Path to load kids from.
158158- `titlesOnly`: Only show the 'title' which is either the filename or the first h1.
159159- `sortBy`: Can be `date` if items have a `date` YAML.
160160- `className`: Class to be assigned to the container.
161161
162162### `<kids>`
163163
164−Example: `<kids dataPath="/posts"></kids>`
164+Example: `<kids src="/posts" />`
165165
166166Includes all the children at the specified path separated by `<hr>` tags.
167167
168168Optional properties:
169169
170−- `dataPath`: Path to load kids from.
170+- `src`: Path to load kids from.
171171- `className`: Class to be assigned to the container.
172172
173173### `<toc>`
174174
175−Example: `<toc noHeader="true"></toc>`
175+Example: `<toc noHeader="true" />`
176176
177177Creates a table of contents from the `h1` - `h6` tags on the page.
178178
@@ -244,7 +244,7 @@ Talk, for example, looks like this:
244244 <script src="/~~/~/at/lib/js/urb.js" />
245245 <script src="/talk/main.js" />
246246 <link href="/talk/main.css" rel="stylesheet" />
247− <talk></talk>
247+ <talk />
248248</module>
249249```
250250