Skip to content

Commit 997d925

Browse files
committed
Fix links, add pending images
1 parent 7e273b8 commit 997d925

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ docs_elixir: compile ../ex_doc/bin/ex_doc
190190
$(Q) rm -rf doc/elixir
191191
$(call DOCS_COMPILE,Elixir,elixir,Kernel,--config "lib/elixir/scripts/elixir_docs.exs")
192192
$(call DOCS_CONFIG,elixir)
193+
cp -R lib/elixir/pages/images doc/elixir
193194

194195
docs_eex: compile ../ex_doc/bin/ex_doc
195196
@ echo "==> ex_doc (eex)"

lib/elixir/pages/cheatsheets/enum-cheat.cheatmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ iex> Enum.into(pairs, %{})
370370
```elixir
371371
iex> Enum.into(cart, %{}, fn item ->
372372
...> {item.fruit, item.count}
373-
```> end)
373+
...> end)
374374
%{"apple" => 3, "banana" => 1, "orange" => 6}
375375
```
376376

33.4 KB
Loading

lib/elixir/pages/mix-and-otp/dynamic-supervisor.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ A GUI should pop up containing all sorts of information about our system, from g
183183
184184
In the Applications tab, you will see all applications currently running in your system alongside their supervision tree. You can select the `kv` application to explore it further:
185185
186-
<img src="/images/contents/kv-observer.png" width="640" alt="Observer GUI screenshot" />
186+
<img src="images/kv-observer.png" alt="Observer GUI screenshot" />
187187
188188
Not only that, as you create new buckets on the terminal, you should see new processes spawned in the supervision tree shown in Observer:
189189

lib/elixir/pages/mix-and-otp/genservers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# GenServer
22

3-
In the [previous chapter](/getting-started/mix-otp/agent.html), we used agents to represent our buckets. In the [introduction to mix](/getting-started/mix-otp/introduction-to-mix.html), we specified we would like to name each bucket so we can do the following:
3+
In the [previous chapter](../agents.md), we used agents to represent our buckets. In the [introduction to mix](../introduction-to-mix.md), we specified we would like to name each bucket so we can do the following:
44

55
```elixir
66
CREATE shopping
@@ -16,7 +16,7 @@ OK
1616

1717
In the session above we interacted with the "shopping" bucket.
1818

19-
Since agents are processes, each bucket has a process identifier (PID), but buckets do not have a name. Back [in the Process chapter](/getting-started/processes.html), we have learned that we can register processes in Elixir by giving them atom names:
19+
Since agents are processes, each bucket has a process identifier (PID), but buckets do not have a name. Back [in the Process chapter](../getting-started/processes.md), we have learned that we can register processes in Elixir by giving them atom names:
2020

2121
```elixir
2222
iex> Agent.start_link(fn -> %{} end, name: :shopping)
@@ -324,7 +324,7 @@ To help developers remember the differences between call, cast and info, the sup
324324

325325
## Monitors or links?
326326

327-
We have previously learned about links in the [Process chapter](/getting-started/processes.html). Now, with the registry complete, you may be wondering: when should we use monitors and when should we use links?
327+
We have previously learned about links in the [Process chapter](../getting-started/processes.md). Now, with the registry complete, you may be wondering: when should we use monitors and when should we use links?
328328

329329
Links are bi-directional. If you link two processes and one of them crashes, the other side will crash too (unless it is trapping exits). A monitor is uni-directional: only the monitoring process will receive notifications about the monitored one. In other words: use links when you want linked crashes, and monitors when you just want to be informed of crashes, exits, and so on.
330330

0 commit comments

Comments
 (0)