on master help sign in
Merge pull request #1182 from tinnus-napbus/update-vane-docs-wrt-dist

Update vane docs wrt dist

commit54ac03213d9d3b3f1f220c073d2a976c7daba458 authortinnus-napbus <77721746+tinnus-napbus@users.noreply.github.com> dateTue 5 Oct 2021, 23:35 (5 years ago) parentda0faeb3f91003
4 files changed+11−11
content/docs/arvo/behn/examples.md+2−2 content/docs/arvo/eyre/examples.md+5−5 content/docs/arvo/iris/example.md+1−1 content/docs/arvo/jael/examples.md+3−3
content/docs/arvo/behn/examples.md+2−2
@@ -39,7 +39,7 @@ Below is a thread which will take a `@dr` as its argument and `%pass`es Behn a `
3939(pure:m !>(~))
4040```
4141
42−Save the thread to `/ted/wait.hoon` and `|commit %home`. Then we can try running the thread with a `@dr` of `~s2`:
42+Save the thread to `/ted/wait.hoon` and `|commit %base`. Then we can try running the thread with a `@dr` of `~s2`:
4343
4444```
4545> -wait ~s2
@@ -84,7 +84,7 @@ Below is a variation on the [%wake](#wake) thread. It takes a `@dr` as its argum
8484(pure:m !>(~))
8585```
8686
87−Save the above thread to `/ted/rest.hoon`, and `|commit %home`. Let's try run it with an argument of `~s2`:
87+Save the above thread to `/ted/rest.hoon`, and `|commit %base`. Let's try run it with an argument of `~s2`:
8888
8989```
9090> -rest ~s2
content/docs/arvo/eyre/examples.md+5−5
@@ -309,9 +309,9 @@ Note that this example does a lot of things manually for demonstrative purposes.
309309Save the above to `/app/eyre-agent.hoon`. Commit it:
310310
311311```
312−> |commit %home
312+> |commit %base
313313>=
314−+ /~zod/home/2/app/eyre-agent/hoon
314++ /~zod/base/2/app/eyre-agent/hoon
315315```
316316
317317...and start it:
@@ -320,7 +320,7 @@ Save the above to `/app/eyre-agent.hoon`. Commit it:
320320> |start %eyre-agent
321321>=
322322gall: loading %eyre-agent
323−activated app home/eyre-agent
323+activated app base/eyre-agent
324324[unlinked from [p=~zod q=%eyre-agent]]
325325```
326326
@@ -430,7 +430,7 @@ Here we'll look at running a generator via Eyre. Eyre doesn't have a mediated JS
430430
431431You can refer to the [%serve](/docs/arvo/eyre/tasks#serve) section of the [Internal API Reference](/docs/arvo/eyre/tasks) document for relevant details.
432432
433−Here's a very simple generator that will just echo back the body of the request (if available) along with the current datetime. You can save it in the `/gen` directory and `|commit %home`.
433+Here's a very simple generator that will just echo back the body of the request (if available) along with the current datetime. You can save it in the `/gen` directory and `|commit %base`.
434434
435435Note that this example does some things manually for demonstrative purposes. In practice you'd likely want to use a library like `/lib/server.hoon` to cut down on boilerplate code.
436436
@@ -478,7 +478,7 @@ The [$binding](/docs/arvo/eyre/data-types#binding) specifies the site and URL pa
478478Let's bind our generator to the `/mygen` URL path with the `|pass` command in the dojo:
479479
480480```
481−|pass [%e [%serve `/mygen %home /gen/eyre-gen/hoon ~]]
481+|pass [%e [%serve `/mygen %base /gen/eyre-gen/hoon ~]]
482482```
483483
484484Note that Eyre responds with a `%bound` `gift` to indicate whether the binding succeeded but `|pass` doesn't take such responses so it's not shown.
content/docs/arvo/iris/example.md+1−1
@@ -4,7 +4,7 @@ weight = 4
44template = "doc.html"
55+++
66
7−Here we'll look at a simple example of fetching a remote HTTP resource with Iris. We'll use the following thread, which you can save in the `/ted` directory of your `%home` desk:
7+Here we'll look at a simple example of fetching a remote HTTP resource with Iris. We'll use the following thread, which you can save in the `/ted` directory of your `%base` desk:
88
99`iris-thread.hoon`
1010
content/docs/arvo/jael/examples.md+3−3
@@ -32,7 +32,7 @@ Here we'll look at subscribing to private key updates from Jael. We'll use a thr
3232(pure:m !>(~))
3333```
3434
35−Save the above thread in the `/ted` directory of your `%home` desk and `|commit %home`.
35+Save the above thread in the `/ted` directory of your `%base` desk and `|commit %base`.
3636
3737Now let's run the thread:
3838
@@ -106,7 +106,7 @@ Here's a thread that performs these actions:
106106
107107Note this example was performed on a comet as a fake ship won't have the required information in Jael.
108108
109−Save the above thread in the `/ted` directory and `|commit %home`. The thread takes a `ship` as an argument, so we'll try to subscribe to pubkey updates for `~dopzod`. Let's run the thread:
109+Save the above thread in the `/ted` directory and `|commit %base`. The thread takes a `ship` as an argument, so we'll try to subscribe to pubkey updates for `~dopzod`. Let's run the thread:
110110
111111```
112112> -sub-pub ~dopzod
@@ -197,7 +197,7 @@ Here's a simple thread that'll pass Jael a `%turf` `task`, take the `%turf` `gif
197197(pure:m !>(~))
198198```
199199
200−Save in in the `/ted` directory of your ship and `|commit %home`. Next, let's try running it:
200+Save in in the `/ted` directory of your ship and `|commit %base`. Next, let's try running it:
201201
202202```
203203> -turf