Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
2 additions
and
1 deletion.
-
+1
−1
nikola/nikola.py
-
+1
−0
nikola/plugin_categories.py
|
@@ -287,7 +287,7 @@ def __init__(self, **config): |
|
|
self.configuration_filename = config.pop('__configuration_filename__', False) |
|
|
self.configured = bool(config) |
|
|
self.injected_deps = defaultdict(list) |
|
|
|
|
|
|
|
|
self.rst_transforms = [] |
|
|
self.template_hooks = { |
|
|
'extra_head': utils.TemplateHookRegistry('extra_head', self), |
|
|
|
@@ -79,6 +79,7 @@ def inject_dependency(self, target, dependency): |
|
|
"""Add 'dependency' to the target task's task_deps""" |
|
|
self.site.injected_deps[target].append(dependency) |
|
|
|
|
|
|
|
|
class Command(BasePlugin, DoitCommand): |
|
|
"""These plugins are exposed via the command line. |
|
|
They implement the doit Command interface.""" |
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.