From ca26783b4fbae7995f401f9ef3781680dc0b71d2 Mon Sep 17 00:00:00 2001 From: Milka64 Date: Sun, 10 Dec 2023 09:05:27 +0100 Subject: [PATCH] Did you forget to import 'subprocess' --- sphinx_d2lang/d2lang.py | 1 + 1 file changed, 1 insertion(+) diff --git a/sphinx_d2lang/d2lang.py b/sphinx_d2lang/d2lang.py index 0a0d40e..5b02c40 100644 --- a/sphinx_d2lang/d2lang.py +++ b/sphinx_d2lang/d2lang.py @@ -4,6 +4,7 @@ from docutils.parsers.rst import Directive from shutil import which import shlex +import subprocess class D2langDirective(Directive): has_content = True