mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Don't require init() method in builders.
This commit is contained in:
parent
a5e1d06ccc
commit
5713270079
@ -65,7 +65,7 @@ class Builder(object):
|
||||
|
||||
def init(self):
|
||||
"""Load necessary templates and perform initialization."""
|
||||
raise NotImplementedError
|
||||
pass
|
||||
|
||||
def init_templates(self):
|
||||
# Call this from init() if you need templates.
|
||||
|
Loading…
Reference in New Issue
Block a user