Skip to content

Commit daba0a6

Browse files
committed
update image paths
Signed-off-by: shmck <shawn.j.mckay@gmail.com>
1 parent 93070ae commit daba0a6

14 files changed

+9
-9
lines changed

β€ŽREADME.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
CodeRoad is a VSCode extension that allows you to play interactive coding tutorials in your editor.
88

9-
![CodeRoad Image](./docs/images/tutorial-example.png)
9+
![CodeRoad Image](./docs/static/img/tutorial-example.png)
1010

1111
## Why
1212

β€Ždocs/docs/how-coderoad-works.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ There are really a few major pieces to understand how CodeRoad works.
1616

1717
In CodeRoad, the user is given a set of **levels** composed of one more **tasks**.
1818

19-
![Level / Task Flow](https://raw.githubusercontent.com/coderoad/coderoad-vscode/docs/docs/images/level-task-flow.png)
19+
![Level / Task Flow](/img/level-task-flow.png)
2020

2121
Each task is judged to pass (βœ”) or fail (✘) by the result of code tests that runs in the background. Tests can be triggered by saving a file, or by a trigger that listens to specific files for changes.
2222

23-
![Test Flow Diagram](../https://raw.githubusercontent.com/coderoad/coderoad-vscode/docs/docs/images/test-flow-diagram.png)
23+
![Test Flow Diagram](/img/test-flow-diagram.png)
2424

2525
If a test fails, the first failing test name is returned to the user as a hint to identify the problem.
2626

@@ -32,19 +32,19 @@ But where does the code for these tests come from?
3232

3333
CodeRoad tutorials are stored and loaded using Git, a popular version control system. If you're unfamiliar with Git, think of it as a way to save or load progress from checkpoints called "commits".
3434

35-
![Git Commit Example](../https://raw.githubusercontent.com/coderoad/coderoad-vscode/docs/docs/images/git-commit-example.png)
35+
![Git Commit Example](/img/git-commit-example.png)
3636

3737
In a tutorial, these commits have a standardized order. First you setup the test runner, then the task tests, then the solution. This pattern is similar to a kind of development called β€œTDD” or β€œtest driven development”. Write tests for the problem you want to solve, then save the results when all the tests pass. This pattern can also be used to play out a tutorial like a game: users get a task, then must solve it to continue.
3838

39-
![CodeRoad Commit Example](../https://raw.githubusercontent.com/coderoad/coderoad-vscode/docs/docs/images/coderoad-commit-example.png)
39+
![CodeRoad Commit Example](/img/coderoad-commit-example.png)
4040

4141
When a tutorial starts, CodeRoad loads git commits from a tutorial up until the first task commit. These commits contain all of the code setup, test runner configuration and tests for the given task.
4242

43-
![Loading Tutorial Commits](../https://raw.githubusercontent.com/coderoad/coderoad-vscode/docs/docs/images/loading-tutorial-commits.png)
43+
![Loading Tutorial Commits](/img/loading-tutorial-commits.png)
4444

4545
When a user passes a task, their progress is saved as a commit. Then the next task commit is loaded.
4646

47-
![Tutorial commits with user solution](../https://raw.githubusercontent.com/coderoad/coderoad-vscode/docs/docs/images/tutorial-commits-user-solution.png)
47+
![Tutorial commits with user solution](/img/tutorial-commits-user-solution.png)
4848

4949
Again notice that the user provides the solution and it is not loaded from the tutorial. This allows users to go a little off-road in a tutorial and provide their own solutions.
5050

@@ -62,7 +62,7 @@ Git provides a number of benefits:
6262

6363
If at some point the user is a bit too β€œoff-road” from the solution, the user can always return to the β€œgolden path” by pressing the **reset** button. The reset button reloads the commits up to that point entirely from the tutorial.
6464

65-
![Tutorial commits reset example](../https://raw.githubusercontent.com/coderoad/coderoad-vscode/docs/docs/images/tutorial-commits-reset.png)
65+
![Tutorial commits reset example](/img/tutorial-commits-reset.png)
6666

6767
In the example above you can see the user is β€œreset” back to the original tutorial answers, and back to the second task.
6868

β€Ždocs/docs/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ sidebar_label: Overview
66

77
CodeRoad is a VSCode extension that allows you to play interactive coding tutorials in your editor.
88

9-
![CodeRoad Image](https://raw.githubusercontent.com/coderoad/coderoad-vscode/docs/docs/images/tutorial-example.png)
9+
![CodeRoad Image](/img/tutorial-example.png)
1010

1111
## Why
1212

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)