docs: fix cable channel docs image links

This commit is contained in:
alexandre pasmantier 2025-07-18 02:13:38 +02:00
parent 6b818b927c
commit c4bcba211a
2 changed files with 2 additions and 2 deletions

View File

@ -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*

View File

@ -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*"}