From d95d9f8ce82988abd0dce010cbdd3c567508196f Mon Sep 17 00:00:00 2001 From: Nicholas Chin Date: Sun, 27 Oct 2024 17:09:39 -0600 Subject: Documentation: Remove ditaa support Ditaa is a utility to convert ascii block diagrams into bitmap graphics. The latest sphinx-contrib-ditaa extension has not been updated since 2022 [1] and does not declare whether it is safe for parallel reading, causing sphinx to issue a warning as we use the `-j auto` flag to parallelize the build. It doesn't seem like anyone ever used it in the docs aside from a now abandoned patch [2], so just remove it. [1] https://pypi.org/project/sphinxcontrib-ditaa/ [2] https://review.coreboot.org/c/coreboot/+/37643 Change-Id: I460ce24aab203cbb416888787fc6e2c613d306b3 Signed-off-by: Nicholas Chin Reviewed-on: https://review.coreboot.org/c/coreboot/+/84887 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- Documentation/conf.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'Documentation/conf.py') diff --git a/Documentation/conf.py b/Documentation/conf.py index 6284fca73c..d5b522afb9 100644 --- a/Documentation/conf.py +++ b/Documentation/conf.py @@ -31,14 +31,6 @@ exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store'] # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' -# Try to load DITAA -try: - import sphinxcontrib.ditaa -except ImportError: - print("Error: Please install sphinxcontrib.ditaa for ASCII art conversion\n") -else: - extensions += ['sphinxcontrib.ditaa'] - # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. # -- cgit v1.2.3