Skip to content

Commit 209d258

Browse files
Fixed broken link issues in roller ball tutorial doc. (#6024)
1 parent ffa2e81 commit 209d258

File tree

2 files changed

+8
-26
lines changed

2 files changed

+8
-26
lines changed

docs/Learning-Environment-Create-New.md

Lines changed: 6 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,7 @@ importing the ML-Agents assets into it:
4343

4444
Your Unity **Project** window should contain the following assets:
4545

46-
<p align="left">
47-
<img src="images/roller-ball-projects.png"
48-
alt="Project window"
49-
width="250" border="10" />
50-
</p>
46+
![Unity Project Window](images/roller-ball-projects.png){: style="width:250px"}
5147

5248
## Create the Environment
5349

@@ -64,11 +60,7 @@ to seek, and a Sphere to represent the Agent itself.
6460
1. Set Transform to Position = `(0, 0, 0)`, Rotation = `(0, 0, 0)`, Scale =
6561
`(1, 1, 1)`.
6662

67-
<p align="left">
68-
<img src="images/roller-ball-floor.png"
69-
alt="The Floor in the Inspector window"
70-
width="400" border="10" />
71-
</p>
63+
![Floor Inspector window](images/roller-ball-floor.png){: style="width:400px"}
7264

7365
### Add the Target Cube
7466

@@ -78,11 +70,7 @@ to seek, and a Sphere to represent the Agent itself.
7870
1. Set Transform to Position = `(3, 0.5, 3)`, Rotation = `(0, 0, 0)`, Scale =
7971
`(1, 1, 1)`.
8072

81-
<p align="left">
82-
<img src="images/roller-ball-target.png"
83-
alt="The Target Cube in the Inspector window"
84-
width="400" border="10" />
85-
</p>
73+
![Target Cube Inspector window](images/roller-ball-target.png){: style="width:400px"}
8674

8775
### Add the Agent Sphere
8876

@@ -108,11 +96,7 @@ To do so:
10896
1. Drag the Floor, Target, and RollerAgent GameObjects in the Hierarchy into the
10997
TrainingArea GameObject.
11098

111-
<p align="left">
112-
<img src="images/roller-ball-hierarchy.png"
113-
alt="The Hierarchy window"
114-
width="250" border="10" />
115-
</p>
99+
![Hierarchy window](images/roller-ball-hierarchy.png){: style="width:250px"}
116100

117101
## Implement an Agent
118102

@@ -360,11 +344,8 @@ with our Agent script.
360344
- `Actions` > `Continuous Actions` = 2
361345

362346
In the inspector, the `RollerAgent` should look like this now:
363-
<p align="left">
364-
<img src="images/roller-ball-agent.png"
365-
alt="The Agent GameObject in the Inspector window"
366-
width="400" border="5" />
367-
</p>
347+
348+
![Agent GameObject Inspector window](images/roller-ball-agent.png){: style="width:400px"}
368349

369350
Now you are ready to test the environment before training.
370351

mkdocs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ theme:
4343
# Palette toggle for light mode
4444
- scheme: default
4545
toggle:
46-
icon: material/brightness-7
46+
icon: material/brightness-7
4747
name: Switch to dark mode
4848
# Palette toggle for dark mode
4949
- scheme: slate
@@ -56,3 +56,4 @@ extra_css:
5656
markdown_extensions:
5757
- markdown_include.include:
5858
base_path: docs
59+
- attr_list

0 commit comments

Comments
 (0)