From ea21751e90a5eec817232d9a0731b75caa6d7fe7 Mon Sep 17 00:00:00 2001 From: Jonathan Guyer Date: Wed, 4 Oct 2023 18:49:24 -0400 Subject: [PATCH] Fix reference to Sphinx app --- ntd2d/ntd2d_action/sphinxdocs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntd2d/ntd2d_action/sphinxdocs.py b/ntd2d/ntd2d_action/sphinxdocs.py index 7b9c5b3..7305956 100644 --- a/ntd2d/ntd2d_action/sphinxdocs.py +++ b/ntd2d/ntd2d_action/sphinxdocs.py @@ -63,7 +63,7 @@ def pdf_file(self): @property def stylesheet(self): theme_factory = HTMLThemeFactory(self.sphinx_app) - theme = theme_factory.create(app.config.html_theme) + theme = theme_factory.create(self.sphinx_app.config.html_theme) return theme.get_config("theme", "stylesheet")