Run for both html and dirhtml

Previously dirhtml build types were ignored by the extension
This commit is contained in:
michaelj
2010-04-23 19:19:55 +10:00
parent 4a9a1d644a
commit cbcd86d886
+1 -1
View File
@@ -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: