Skip to content

Commit

Permalink
Fix reference to Sphinx app
Browse files Browse the repository at this point in the history
  • Loading branch information
guyer committed Oct 4, 2023
1 parent 7e216c2 commit ea21751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ntd2d/ntd2d_action/sphinxdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit ea21751

Please sign in to comment.