Skip to content

Commit 0b2b032

Browse files
committed
fix: correct image paths in documentation markdown files
- Updated all image references in doc/examples/*.md files to include example subdirectory names in the path structure - Changed broken paths from ../../media/examples/filename.png to ../../media/examples/{example_name}/filename.png - This matches the actual directory structure where images are stored and fixes GitHub Pages PNG display issues - Verified documentation builds correctly with make doc - All 10 documentation files updated with correct image paths Fixes GitHub Pages PNG display issue completely
1 parent e81ebab commit 0b2b032

File tree

10 files changed

+26
-26
lines changed

10 files changed

+26
-26
lines changed

doc/examples/basic_plots.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ make example ARGS="basic_plots"
2929

3030
### Simple Plot
3131

32-
![simple_plot.png](../../media/examples/simple_plot.png)
32+
![simple_plot.png](../../media/examples/basic_plots/simple_plot.png)
3333

3434
ASCII output:
3535
```
@@ -69,11 +69,11 @@ ASCII output:
6969
+--------------------------------------------------------------------------------+
7070
```
7171

72-
[Download PDF](../../media/examples/simple_plot.pdf)
72+
[Download PDF](../../media/examples/basic_plots/simple_plot.pdf)
7373

7474
### Multi Line
7575

76-
![multi_line.png](../../media/examples/multi_line.png)
76+
![multi_line.png](../../media/examples/basic_plots/multi_line.png)
7777

7878
ASCII output:
7979
```
@@ -113,4 +113,4 @@ ASCII output:
113113
+--------------------------------------------------------------------------------+
114114
```
115115

116-
[Download PDF](../../media/examples/multi_line.pdf)
116+
[Download PDF](../../media/examples/basic_plots/multi_line.pdf)

doc/examples/contour_demo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ make example ARGS="contour_demo"
2828

2929
### Contour Gaussian
3030

31-
![contour_gaussian.png](../../media/examples/contour_gaussian.png)
31+
![contour_gaussian.png](../../media/examples/contour_demo/contour_gaussian.png)
3232

3333
ASCII output:
3434
```
@@ -68,11 +68,11 @@ ASCII output:
6868
+--------------------------------------------------------------------------------+
6969
```
7070

71-
[Download PDF](../../media/examples/contour_gaussian.pdf)
71+
[Download PDF](../../media/examples/contour_demo/contour_gaussian.pdf)
7272

7373
### Mixed Plot
7474

75-
![mixed_plot.png](../../media/examples/mixed_plot.png)
75+
![mixed_plot.png](../../media/examples/contour_demo/mixed_plot.png)
7676

7777
ASCII output:
7878
```
@@ -112,5 +112,5 @@ ASCII output:
112112
+--------------------------------------------------------------------------------+
113113
```
114114

115-
[Download PDF](../../media/examples/mixed_plot.pdf)
115+
[Download PDF](../../media/examples/contour_demo/mixed_plot.pdf)
116116

doc/examples/format_string_demo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,4 +57,4 @@ Format: `[color][marker][linestyle]`
5757

5858
## Output Example
5959

60-
![Format String Demo](../../media/examples/format_string_demo.png)
60+
![Format String Demo](../../media/examples/format_string_demo/format_string_demo.png)

doc/examples/legend_demo.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ make example ARGS="legend_demo"
3939
## Output
4040

4141
### Basic Legend
42-
![Basic Legend](../../media/examples/basic_legend.png)
42+
![Basic Legend](../../media/examples/legend_demo/basic_legend.png)
4343

4444
### Multi-function Legend
45-
![Multi-function Legend](../../media/examples/multi_function_legend.png)
45+
![Multi-function Legend](../../media/examples/legend_demo/multi_function_legend.png)

doc/examples/line_styles.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ make example ARGS="line_styles"
3434

3535
### Line Styles
3636

37-
![line_styles.png](../../media/examples/line_styles.png)
37+
![line_styles.png](../../media/examples/line_styles/line_styles.png)
3838

3939
ASCII output:
4040
```
@@ -74,4 +74,4 @@ ASCII output:
7474
+--------------------------------------------------------------------------------+
7575
```
7676

77-
[Download PDF](../../media/examples/line_styles.pdf)
77+
[Download PDF](../../media/examples/line_styles/line_styles.pdf)

doc/examples/marker_demo.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ make example ARGS="marker_demo"
4242

4343
### Scatter Plot
4444

45-
![scatter_plot.png](../../media/examples/scatter_plot.png)
45+
![scatter_plot.png](../../media/examples/marker_demo/scatter_plot.png)
4646

4747
### All Marker Types
4848

49-
![all_marker_types.png](../../media/examples/all_marker_types.png)
49+
![all_marker_types.png](../../media/examples/marker_demo/all_marker_types.png)
5050

5151
### Marker Colors
5252

53-
![marker_colors.png](../../media/examples/marker_colors.png)
53+
![marker_colors.png](../../media/examples/marker_demo/marker_colors.png)
5454

5555
[Download PDFs](../../media/examples/)

doc/examples/scale_examples.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ make example ARGS="scale_examples"
2828

2929
### Log Scale
3030

31-
![log_scale.png](../../media/examples/log_scale.png)
31+
![log_scale.png](../../media/examples/scale_examples/log_scale.png)
3232

3333
ASCII output:
3434
```
@@ -68,11 +68,11 @@ ASCII output:
6868
+--------------------------------------------------------------------------------+
6969
```
7070

71-
[Download PDF](../../media/examples/log_scale.pdf)
71+
[Download PDF](../../media/examples/scale_examples/log_scale.pdf)
7272

7373
### Symlog Scale
7474

75-
![symlog_scale.png](../../media/examples/symlog_scale.png)
75+
![symlog_scale.png](../../media/examples/scale_examples/symlog_scale.png)
7676

7777
ASCII output:
7878
```
@@ -112,5 +112,5 @@ ASCII output:
112112
+--------------------------------------------------------------------------------+
113113
```
114114

115-
[Download PDF](../../media/examples/symlog_scale.pdf)
115+
[Download PDF](../../media/examples/scale_examples/symlog_scale.pdf)
116116

doc/examples/stateful_streamplot.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ make example ARGS="stateful_streamplot"
3939

4040
## Output Example
4141

42-
![Stateful Streamplot](../../media/examples/stateful_streamplot.png)
42+
![Stateful Streamplot](../../media/examples/stateful_streamplot/stateful_streamplot.png)

doc/examples/streamplot_demo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ make example ARGS="streamplot_demo"
3232

3333
## Output Example
3434

35-
![Streamplot Demo](../../media/examples/streamplot_demo.png)
35+
![Streamplot Demo](../../media/examples/streamplot_demo/streamplot_demo.png)

doc/examples/unicode_demo.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ make example ARGS="unicode_demo"
4242

4343
### Unicode Demo
4444

45-
![unicode_demo.png](../../media/examples/unicode_demo.png)
45+
![unicode_demo.png](../../media/examples/unicode_demo/unicode_demo.png)
4646

4747
ASCII output:
4848
```
@@ -82,10 +82,10 @@ ASCII output:
8282
+--------------------------------------------------------------------------------+
8383
```
8484

85-
[Download PDF](../../media/examples/unicode_demo.pdf)
85+
[Download PDF](../../media/examples/unicode_demo/unicode_demo.pdf)
8686

8787
### Unicode Demo
88-
![Unicode Demo](../../media/examples/unicode_demo.png)
88+
![Unicode Demo](../../media/examples/unicode_demo/unicode_demo.png)
8989

9090
### Math Examples
91-
![Math Examples](../../media/examples/math_examples.png)
91+
![Math Examples](../../media/examples/unicode_demo/math_examples.png)

0 commit comments

Comments
 (0)