Skip to content

Commit c8d42bd

Browse files
committed
fix(docs): use absolute raw GitHub URLs for images to work on both GitHub and MkDocs
1 parent f4042e4 commit c8d42bd

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/EXAMPLES.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ These buckets are publicly accessible with `--no-sign`. Use `--depth 2` or `--de
271271
| `s3://1000genomes` | 1000 Genomes Project | `dirplot map s3://1000genomes --no-sign --depth 3` |
272272

273273
<figure>
274-
<img src="../s3.png" alt="NOAA GHCN S3 bucket treemap">
274+
<img src="https://raw.githubusercontent.com/deeplook/dirplot/main/docs/s3.png" alt="NOAA GHCN S3 bucket treemap">
275275
<figcaption><code>dirplot map s3://noaa-ghcn-pds --no-sign --depth 2</code></figcaption>
276276
</figure>
277277

@@ -298,19 +298,19 @@ dirplot map github://FastAPI/FastAPI --output fastapi.png --no-show
298298
```
299299

300300
<figure>
301-
<img src="../fastapi.png" alt="FastAPI repository treemap">
301+
<img src="https://raw.githubusercontent.com/deeplook/dirplot/main/docs/fastapi.png" alt="FastAPI repository treemap">
302302
<figcaption><code>dirplot map github://FastAPI/FastAPI</code></figcaption>
303303
</figure>
304304

305305
<!-- dirplot map github://torvalds/linux --inline -->
306306

307307
<figure>
308-
<img src="../python.png" alt="CPython repository treemap">
308+
<img src="https://raw.githubusercontent.com/deeplook/dirplot/main/docs/python.png" alt="CPython repository treemap">
309309
<figcaption><code>dirplot map github://python/cpython</code></figcaption>
310310
</figure>
311311

312312
<figure>
313-
<img src="../pypy.png" alt="PyPy repository treemap">
313+
<img src="https://raw.githubusercontent.com/deeplook/dirplot/main/docs/pypy.png" alt="PyPy repository treemap">
314314
<figcaption><code>dirplot map github://pypy/pypy</code></figcaption>
315315
</figure>
316316

@@ -377,7 +377,7 @@ buf = create_treemap(root, width_px=1920, height_px=1080)
377377
```
378378

379379
<figure>
380-
<img src="../flask.png" alt="Flask repository treemap">
380+
<img src="https://raw.githubusercontent.com/deeplook/dirplot/main/docs/flask.png" alt="Flask repository treemap">
381381
<figcaption><code>dirplot map github://pallets/flask --legend</code></figcaption>
382382
</figure>
383383

@@ -475,7 +475,7 @@ docker rm -f pg-demo
475475
```
476476

477477
<figure>
478-
<img src="../docker.png" alt="Postgres container /usr treemap">
478+
<img src="https://raw.githubusercontent.com/deeplook/dirplot/main/docs/docker.png" alt="Postgres container /usr treemap">
479479
<figcaption><code>dirplot map docker://pg-demo:/usr --log-scale 4</code></figcaption>
480480
</figure>
481481

@@ -550,7 +550,7 @@ kubectl delete pod pg-demo --grace-period=0
550550
```
551551

552552
<figure>
553-
<img src="../k8s.png" alt="Postgres pod /var treemap">
553+
<img src="https://raw.githubusercontent.com/deeplook/dirplot/main/docs/k8s.png" alt="Postgres pod /var treemap">
554554
<figcaption><code>dirplot map pod://pg-demo/var/</code></figcaption>
555555
</figure>
556556

0 commit comments

Comments
 (0)