From efd148fe01ae6e655189e01d19a09686e9a2360d Mon Sep 17 00:00:00 2001 From: Bradley Sappington Date: Fri, 24 May 2024 12:25:45 -0400 Subject: [PATCH] setting up graphviz for our readthedocs builds --- docs/conf.py | 3 ++- readthedocs.yml | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index 69e864ea..76a4ed1d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -70,6 +70,7 @@ extensions = [ "sphinx.ext.mathjax", "sphinx.ext.autodoc", + "sphinx.ext.graphviz", "sphinx.ext.intersphinx", "sphinx.ext.todo", "sphinx.ext.inheritance_diagram", @@ -85,7 +86,7 @@ numpydoc_show_class_members = False autosummary_generate = True - +graphviz_dot = "dot" # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] diff --git a/readthedocs.yml b/readthedocs.yml index 6ce39637..e951b63b 100644 --- a/readthedocs.yml +++ b/readthedocs.yml @@ -10,6 +10,8 @@ build: os: ubuntu-22.04 tools: python: "3.10" + apt_packages: + - graphviz # Build documentation in the docs/ directory with Sphinx sphinx: