File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,10 +47,10 @@ class DebugPlugin(Plugin):
47
47
name = 'Lektor Debug'
48
48
description = 'A Lektor Plugin for Debugging Help'
49
49
50
- # TODO run this on all builds. on_before_build_all seems to sometimes error
50
+ # XXX Occaisionally using on_before_build_all seems to sometimes error
51
51
# with `TemplateSyntaxError: Encountered unknown tag 'debug'` and sometimes not.
52
- # def on_before_build_all(self, builder, **extra):
53
- def on_server_spawn (self , ** extras ):
52
+ # Why? fixme
53
+ def on_before_build_all (self , builder , ** extra ):
54
54
if "jinja2.ext.DebugExtension" in self .env .jinja_env .extensions :
55
55
del self .env .jinja_env .extensions ["jinja2.ext.DebugExtension" ]
56
56
Original file line number Diff line number Diff line change 25
25
packages = find_packages (),
26
26
py_modules = ['lektor_debug' ],
27
27
url = 'https://github.com/terminal-labs/lektor-debug' ,
28
- version = '0.1' ,
28
+ version = '0.1.1 ' ,
29
29
classifiers = [
30
30
'Framework :: Lektor' ,
31
31
'Environment :: Plugins' ,
You can’t perform that action at this time.
0 commit comments