Skip to content

Commit 029b762

Browse files
author
solomon.legodi
committed
Fix section numbering in chapter 5
1 parent 2a4cb0d commit 029b762

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

website/docs/chapter-03/02_variables.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Variables can be created and assigned in various ways, such as:
3535

3636
(*) These methods are not part of this syllabus.
3737

38-
Beside variables created by the user, Robot Framework also supports **Built-in Variables** that are explained in the [5.1.6 Built-In Variables](chapter-05/01_advanced_variables.md#516-built-in-variables) chapter.
38+
Beside variables created by the user, Robot Framework also supports **Built-in Variables** that are explained in the [5.1.6 Built-In Variables](chapter-05/01_advanced_variables.md#515-built-in-variables) chapter.
3939

4040

4141

website/docs/chapter-05/01_advanced_variables.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ As long as a value is iterable, it can be assigned to a list variable using the
305305

306306
**Note**: Strings are iterable in Python; however, they are explicitly **NOT** converted to a list when assigned to a list variable to prevent mistakes.
307307

308-
### 5.1.4.2 Accessing List Variables
308+
### 5.1.3.1 Accessing List Variables
309309

310310
::::lo[Learning Objectives]
311311

@@ -343,13 +343,13 @@ This is particularly needed when using FOR-Loops. See [5.2.4 FOR Loops](chapter-
343343

344344

345345

346-
## 5.1.5 Dict-Like
346+
## 5.1.4 Dict-Like
347347

348348
As explained in the `*** Variables ***` section under [3.2.2.4 Dictionary Variable Definition](chapter-03/02_variables.md#3224-dictionary-variable-definition), Robot Framework natively supports creating dictionaries.
349349
However, the ampersand-syntax `&{var}` has different meanings when assigning values and when accessing values.
350350

351351

352-
### 5.1.5.1 Assigning Dictionary Variables
352+
### 5.1.4.1 Assigning Dictionary Variables
353353

354354
::::lo[Learning Objectives]
355355

@@ -375,7 +375,7 @@ Test Dictionary Variables
375375
In the following example, the first assignment to `&{participant}` causes an automatic conversion to a Robot Framework Dictionary, also known as DotDict. These special dictionary types can be accessed using dot-access like `${participant.name}` or `${participant.age}`, instead of the usual dictionary access like `${trainer}[name]` or `${trainer}[age]`.
376376

377377

378-
### 5.1.5.2 Accessing Dictionary Variables
378+
### 5.1.4.2 Accessing Dictionary Variables
379379

380380
::::lo[Learning Objectives]
381381

@@ -417,7 +417,7 @@ The dictionary keys act as the argument names and the values as the argument val
417417

418418

419419

420-
## 5.1.6 Built-In Variables
420+
## 5.1.5 Built-In Variables
421421

422422
::::lo[Learning Objectives]
423423

0 commit comments

Comments
 (0)