mirror of
https://github.com/kennethreitz-archive/sphinx-to-github.git
synced 2026-06-05 23:40:17 +00:00
Run for both html and dirhtml
Previously dirhtml build types were ignored by the extension
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user