Skip to content

Commit

Permalink
setting up graphviz for our readthedocs builds
Browse files Browse the repository at this point in the history
  • Loading branch information
BradleySappington committed May 24, 2024
1 parent 6f009d4 commit efd148f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
extensions = [
"sphinx.ext.mathjax",
"sphinx.ext.autodoc",
"sphinx.ext.graphviz",
"sphinx.ext.intersphinx",
"sphinx.ext.todo",
"sphinx.ext.inheritance_diagram",
Expand All @@ -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"]

Expand Down
2 changes: 2 additions & 0 deletions readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit efd148f

Please sign in to comment.