Skip to content

Commit 1de672f

Browse files
authored
docs: fix broken heading anchors (#2237)
Five internal links pointed at anchors that do not exist. Three dropped the dash a slash produces in the slug (key-column-names-with-spaces, floats-decimals, text-strings) and two targeted headings that were since renamed (variables-are-immutable-by-default, setting-the-editing-mode).
1 parent 622b5c4 commit 1de672f

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎book/coming_from_bash.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ $env.Path = ($env.Path | prepend 'C:\Program Files\Git\usr\bin')
9797
| (Emacs Mode) <kbd>Ctrl</kbd>+<kbd>X</kbd><kbd>Ctrl</kbd>+<kbd>E</kbd> | <kbd>Ctrl/Cmd</kbd>+<kbd>O</kbd> | Edit the command-line in the editor defined by `$env.EDITOR` |
9898
| (Vi Command Mode) <kbd>V</kbd> | <kbd>Ctrl/Cmd</kbd>+<kbd>O</kbd> | Edit the command-line in the editor defined by `$env.EDITOR` |
9999

100-
Most common Emacs-mode and Vi-mode keybindings are also available. See the [Reedline Chapter](line_editor.html#editing-mode).
100+
Most common Emacs-mode and Vi-mode keybindings are also available. See the [Reedline Chapter](line_editor.html#setting-the-editing-mode).
101101

102102
::: tip
103103
In Bash, history substitution occurs immediately after pressing <kbd>Enter</kbd>

‎book/control_flow.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ While it may be tempting to use loops if you're familiar with them in other lang
162162

163163
The biggest downside of loops is that they are statements, unlike [`each`](/commands/docs/each.html) which is an expression. Expressions, like [`each`](/commands/docs/each.html) always result in some output value, however statements do not.
164164

165-
This means that they don't work well with immutable variables and using immutable variables is considered a more [Nushell-style](/book/thinking_in_nu.html#variables-are-immutable). Without a mutable variable declared beforehand in the example in the previous section, it would be impossible to use [`for`](/commands/docs/each.html) to get the list of numbers with incremented numbers, or any value at all.
165+
This means that they don't work well with immutable variables and using immutable variables is considered a more [Nushell-style](/book/thinking_in_nu.html#variables-are-immutable-by-default). Without a mutable variable declared beforehand in the example in the previous section, it would be impossible to use [`for`](/commands/docs/each.html) to get the list of numbers with incremented numbers, or any value at all.
166166

167167
Statements also don't work in Nushell pipelines which require some output. In fact Nushell will give an error if you try:
168168

‎book/navigating_structured_data.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Given Nushell's strong support for structured data, some of the more common task
1717
- Example - `get` vs. `select` with a Table Row
1818
- Example - `select` with multiple rows and columns
1919
- [Handling missing data using the optional operator](#the-optional-operator)
20-
- [Key/Column names with spaces](#keycolumn-names-with-spaces)
20+
- [Key/Column names with spaces](#key-column-names-with-spaces)
2121
- [Other commands for navigating structured data](#other-commands-for-accessing-structured-data)
2222

2323
## Background

‎lang-guide/chapters/types/basic_types/float.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| **_Annotation:_** | `float` |
77
| **_Literal syntax:_** | A decimal numeric value including a decimal place. E.g., `1.5`, `2.0`, `-15.333` |
88
| **_Casts:_** | [`into float`](/commands/docs/into_float.md) |
9-
| **_See also:_** | [Types of Data - Floats](/book/types_of_data.md#floatsdecimals) |
9+
| **_See also:_** | [Types of Data - Floats](/book/types_of_data.md#floats-decimals) |
1010

1111
## Additional language notes
1212

‎lang-guide/chapters/types/basic_types/string.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
| **_Literal Syntax:_** | See [Working with strings](/book/working_with_strings.md) |
88
| **_Casts:_** | [`into string`](/commands/docs/into_string.md) |
99
| **_See also:_** | [Handling Strings](/book/loading_data.md#handling-strings) |
10-
| | [Types of Data - String](/book/types_of_data.md#textstrings) |
10+
| | [Types of Data - String](/book/types_of_data.md#text-strings) |
1111

1212
## Language Notes:
1313

0 commit comments

Comments
 (0)