mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-09-14 11:06:13 +05:00
Use Linux mermaid sandbox config in docs CI
This commit is contained in:
parent
fc30c2cafe
commit
8fa9120d18
@ -219,7 +219,7 @@ def validate_non_running(snippet: Snippet, disposition: str) -> None:
|
||||
output = Path(temp) / "diagram.svg"
|
||||
source.write_text(snippet.code)
|
||||
command = [mmdc, "--input", source, "--output", output]
|
||||
if sys.platform.startswith("linux") and not os.environ.get("DISPLAY", "").strip():
|
||||
if sys.platform.startswith("linux"):
|
||||
command.extend(
|
||||
[
|
||||
"--puppeteerConfigFile",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user