Skip to content

Commit 5c45ea6

Browse files
committed
Fix docs link
Related to #13284.
1 parent a75371a commit 5c45ea6

File tree

12 files changed

+11
-11
lines changed

12 files changed

+11
-11
lines changed

Diff for: Makefile

-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,6 @@ docs_elixir: compile ../ex_doc/bin/ex_doc
188188
$(Q) rm -rf doc/elixir
189189
$(call DOCS_COMPILE,Elixir,elixir,Kernel,--config "lib/elixir/scripts/elixir_docs.exs")
190190
$(call DOCS_CONFIG,elixir)
191-
cp -R lib/elixir/pages/images doc/elixir
192191

193192
docs_eex: compile ../ex_doc/bin/ex_doc
194193
@ echo "==> ex_doc (eex)"

Diff for: lib/elixir/lib/enum.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ defmodule Enum do
261261
traversed as if it was an enumerable.
262262
263263
For a general overview of all functions in the `Enum` module, see
264-
[the `Enum` cheatsheet](enum-cheat.html).
264+
[the `Enum` cheatsheet](enum-cheat.cheatmd).
265265
266266
The functions in this module work in linear time. This means that, the
267267
time it takes to perform an operation grows at the same rate as the length

Diff for: lib/elixir/pages/anti-patterns/design-anti-patterns.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ defmodule MyModule do
167167
end
168168
```
169169

170-
This is only possible because the `File` module provides APIs for reading files with tuples as results (`File.read/1`), as well as a version that raises an exception (`File.read!/1`). The bang (exclamation point) is effectively part of [Elixir's naming conventions](naming-conventions.html#trailing-bang-foo).
170+
This is only possible because the `File` module provides APIs for reading files with tuples as results (`File.read/1`), as well as a version that raises an exception (`File.read!/1`). The bang (exclamation point) is effectively part of [Elixir's naming conventions](naming-conventions.md#trailing-bang-foo).
171171

172172
Library authors are encouraged to follow the same practices. In practice, the bang variant is implemented on top of the non-raising version of the code. For example, `File.read!/1` is implemented as:
173173

Diff for: lib/elixir/pages/getting-started/basic-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,6 @@ iex> 1 === 1.0
325325
false
326326
```
327327

328-
The comparison operators in Elixir can compare across any data type. We say these operators perform _structural comparison_. For more information, you can read our documentation on [Structural vs Semantic comparisons](Kernel.html#module-structural-comparison).
328+
The comparison operators in Elixir can compare across any data type. We say these operators perform _structural comparison_. For more information, you can read our documentation on [Structural vs Semantic comparisons](`Kernel#module-structural-comparison`).
329329

330330
Elixir also provides data-types for expressing collections, such as lists and tuples, which we learn next. When we talk about concurrency and fault-tolerance via processes, we will also discuss ports, pids, and references, but that will come on later chapters. Let's move forward.

Diff for: lib/elixir/pages/getting-started/enumerable-and-streams.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ iex> Enum.map(%{1 => 2, 3 => 4}, fn {k, v} -> k * v end)
1313
[2, 12]
1414
```
1515

16-
The `Enum` module provides a huge range of functions to transform, sort, group, filter and retrieve items from enumerables. It is one of the modules developers use frequently in their Elixir code. For a general overview of all functions in the `Enum` module, see [the `Enum` cheatsheet](enum-cheat.html).
16+
The `Enum` module provides a huge range of functions to transform, sort, group, filter and retrieve items from enumerables. It is one of the modules developers use frequently in their Elixir code. For a general overview of all functions in the `Enum` module, see [the `Enum` cheatsheet](enum-cheat.cheatmd).
1717

1818
Elixir also provides ranges (see `Range`), which are also enumerable:
1919

Diff for: lib/elixir/pages/meta-programming/macros.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ defmodule Unless do
2626
end
2727
```
2828

29-
The function receives the arguments and passes them to `if/2`. However, as we learned in the [previous guide](quote-and-unquote.html), the macro will receive quoted expressions, inject them into the quote, and finally return another quoted expression.
29+
The function receives the arguments and passes them to `if/2`. However, as we learned in the [previous guide](quote-and-unquote.md), the macro will receive quoted expressions, inject them into the quote, and finally return another quoted expression.
3030

3131
Let's start `iex` with the module above:
3232

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

+1-1
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/kv-observer.png" alt="Observer GUI screenshot" />
186+
<img src="assets/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

Diff for: lib/elixir/pages/references/operators.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Finally, these operators appear in the precedence table above but are only meani
6464
* `=>` - see [`%{}`](`%{}/1`)
6565
* `when` - see [Guards](patterns-and-guards.md#guards)
6666
* `<-` - see [`for`](`for/1`) and [`with`](`with/1`)
67-
* `\\` - see [Default arguments](Kernel.html#def/2-default-arguments)
67+
* `\\` - see [Default arguments](`Kernel#def/2-default-arguments`)
6868

6969
## Comparison operators
7070

Diff for: lib/elixir/pages/references/patterns-and-guards.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ Not all expressions are allowed in guard clauses, but only a handful of them. Th
274274

275275
### List of allowed functions and operators
276276

277-
You can find the built-in list of guards [in the `Kernel` module](Kernel.html#guards). Here is an overview:
277+
You can find the built-in list of guards [in the `Kernel` module](`Kernel#guards`). Here is an overview:
278278

279279
* comparison operators ([`==`](`==/2`), [`!=`](`!=/2`), [`===`](`===/2`), [`!==`](`!==/2`),
280280
[`<`](`</2`), [`<=`](`<=/2`), [`>`](`>/2`), [`>=`](`>=/2`))

Diff for: lib/elixir/pages/references/typespecs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ end
321321
```
322322

323323
This code generates a warning letting you know that you are mistakenly implementing `parse/0` instead of `parse/1`.
324-
You can read more about `@impl` in the [module documentation](Module.html#module-impl).
324+
You can read more about `@impl` in the [module documentation](`Module#module-impl`).
325325

326326
### Using behaviours
327327

Diff for: lib/elixir/pages/references/unicode-syntax.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ Unicode atoms in Elixir follow the identifier rule above with the following modi
8181
* `<Start>` additionally includes the code point `_` (005F)
8282
* `<Continue>` additionally includes the code point `@` (0040)
8383

84-
Note atoms can also be quoted, which allows any characters, such as `:"hello elixir"`. All Elixir operators are also valid atoms, such as `:+`, `:@`, `:|>`, and others. The full description of valid atoms is available in the ["Atoms" section in the syntax reference](syntax-reference.html#atoms).
84+
Note atoms can also be quoted, which allows any characters, such as `:"hello elixir"`. All Elixir operators are also valid atoms, such as `:+`, `:@`, `:|>`, and others. The full description of valid atoms is available in the ["Atoms" section in the syntax reference](syntax-reference.md#atoms).
8585

8686
#### Variables, local calls, and remote calls
8787

Diff for: lib/elixir/scripts/elixir_docs.exs

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
canonical = System.fetch_env!("CANONICAL")
33

44
[
5+
assets: "lib/elixir/pages/images",
56
extras: [
67
"lib/elixir/pages/getting-started/introduction.md",
78
"lib/elixir/pages/getting-started/basic-types.md",

0 commit comments

Comments
 (0)