fix: use absolute URL for README image (PyPI rendering)

This commit is contained in:
Brian Krabach
2026-04-04 14:15:16 -07:00
parent 23a6dfac31
commit 8c0b9073d0
2 changed files with 12 additions and 1 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
**Web-based tmux session dashboard — access, monitor, and manage all your tmux sessions from any browser on any device.**
![muxplex dashboard](assets/branding/og/og-dark.png)
![muxplex dashboard](https://raw.githubusercontent.com/bkrabach/muxplex/main/assets/branding/og/og-dark.png)
---
+11
View File
@@ -261,3 +261,14 @@ def test_readme_tls_key_has_empty_default():
def test_readme_tls_setup_tls_entry_with_method_flag():
"""README CLI Reference must show setup-tls with --method flag."""
assert "--method" in README, "README must document the --method flag for setup-tls"
def test_readme_images_use_absolute_urls():
import re
readme = Path(__file__).resolve().parents[2] / "README.md"
content = readme.read_text()
images = re.findall(r"!\[([^\]]*)\]\(([^)]+)\)", content)
for alt, url in images:
assert url.startswith("http"), (
f"Image '{alt}' uses relative path '{url}' — must use absolute URL for PyPI rendering"
)