From c4bcba211aa1ea151b62a2f22c28d8f563fe4924 Mon Sep 17 00:00:00 2001 From: alexandre pasmantier Date: Fri, 18 Jul 2025 02:13:38 +0200 Subject: [PATCH] docs: fix cable channel docs image links --- docs/01-Users/10-community-channels-unix.md | 2 +- scripts/generate_cable_docs.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/01-Users/10-community-channels-unix.md b/docs/01-Users/10-community-channels-unix.md index 88706df..afcb376 100644 --- a/docs/01-Users/10-community-channels-unix.md +++ b/docs/01-Users/10-community-channels-unix.md @@ -28,7 +28,7 @@ output = "{split:=:0}" List and preview AWS S3 Buckets -![tv running the aws-buckets channel](assets/channels/aws-buckets.png) +![tv running the aws-buckets channel](../../assets/channels/aws-buckets.png) **Requirements:** `aws` **Code:** *aws-buckets.toml* diff --git a/scripts/generate_cable_docs.py b/scripts/generate_cable_docs.py index 8a2e64a..85f2966 100644 --- a/scripts/generate_cable_docs.py +++ b/scripts/generate_cable_docs.py @@ -32,7 +32,7 @@ def generate_cable_docs(os_name: str) -> str: """ img_path = Path(f"./assets/channels/{channel_name}.png") if img_path.exists(): - docs += f"![tv running the {channel_name} channel]({img_path})\n" + docs += f"![tv running the {channel_name} channel](../../{img_path})\n" docs += f"""**Requirements:** {", ".join((f"`{req}`" for req in channel_requirements)) if channel_requirements else "*None*"}