From ff6f027c785075cf85d96d78199c3881cda000e3 Mon Sep 17 00:00:00 2001 From: "Albert Y. Shih" Date: Mon, 21 Aug 2023 16:12:17 -0400 Subject: [PATCH] Revert "Revert using SVG inheritance diagrams" This reverts commit def91868e77ecbc08ec8b82ef69f9f8f403d49a1. --- doc/conf.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/doc/conf.py b/doc/conf.py index 4f9c0f732027..00300efe1ac6 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -738,16 +738,14 @@ def js_tag_with_cache_busting(js): numpydoc_show_class_members = False # We want to prevent any size limit, as we'll add scroll bars with CSS. -inheritance_graph_attrs = dict(dpi=100, size='1000.0', splines='polyline') +inheritance_graph_attrs = dict(size='1000.0', splines='polyline') # Also remove minimum node dimensions, and increase line size a bit. inheritance_node_attrs = dict(height=0.02, margin=0.055, penwidth=1, width=0.01) inheritance_edge_attrs = dict(penwidth=1) graphviz_dot = shutil.which('dot') -# Still use PNG until SVG linking is fixed -# https://github.com/sphinx-doc/sphinx/issues/3176 -# graphviz_output_format = 'svg' +graphviz_output_format = 'svg' # ----------------------------------------------------------------------------- # Source code links