diff --git a/sphinxtogithub/sphinxtogithub.py b/sphinxtogithub/sphinxtogithub.py index d56b96a..714ef23 100644 --- a/sphinxtogithub/sphinxtogithub.py +++ b/sphinxtogithub/sphinxtogithub.py @@ -267,7 +267,7 @@ def sphinx_extension(app, exception): # The former is doable, but not officially supported (as far as I know) # so I wouldn't know where to stash the data. - if app.builder.name != "html": + if not app.builder.name in ("html", "dirhtml"): return if not app.config.sphinx_to_github: