From 3c16f1e49b3da58fa36b2c27a728abb5998b4ce9 Mon Sep 17 00:00:00 2001 From: Heitor Pascoal de Bittencourt Date: Wed, 1 Oct 2025 11:01:35 -0300 Subject: [PATCH] Fix theme on RTD Always set `html_theme` to `sphinx_rtd_theme`, regardless of the environment. Signed-off-by: Heitor Pascoal de Bittencourt --- source/conf.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/source/conf.py b/source/conf.py index c4395b1..053e07e 100644 --- a/source/conf.py +++ b/source/conf.py @@ -1,7 +1,6 @@ #!/usr/bin/env python3 # -*- coding: utf-8 -*- # -import os import datetime # import sys # sys.path.insert(0, os.path.abspath('.')) @@ -84,13 +83,10 @@ # -- Options for HTML output ---------------------------------------------- -on_rtd = os.environ.get('READTHEDOCS', None) == 'True' - # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -if not on_rtd: - html_theme = 'sphinx_rtd_theme' +html_theme = 'sphinx_rtd_theme' # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the