From 9aa8d30d36ae1c14430e51ee2766e94d6e1d111f Mon Sep 17 00:00:00 2001 From: Brian Torres-Gil Date: Mon, 24 Jun 2024 13:37:24 -0700 Subject: [PATCH] build: fix readthedocs visuals --- .readthedocs.yaml | 2 ++ docs/conf.py | 6 ++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 000526e4..d47e8faa 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -10,6 +10,8 @@ build: os: ubuntu-22.04 tools: python: "3.7" + apt_packages: + - graphviz # Build documentation in the docs/ directory with Sphinx sphinx: diff --git a/docs/conf.py b/docs/conf.py index 88a27bce..f5ff9c2e 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -127,10 +127,8 @@ # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. -if on_rtd: - html_theme = "default" -else: - html_theme = "sphinx_rtd_theme" +html_theme = "sphinx_rtd_theme" +if not on_rtd: html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] # Theme options are theme-specific and customize the look and feel of a