diff options
Diffstat (limited to 'nikola/data/samplesite/dodo.py')
| -rwxr-xr-x | nikola/data/samplesite/dodo.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nikola/data/samplesite/dodo.py b/nikola/data/samplesite/dodo.py new file mode 100755 index 0000000..1be7663 --- /dev/null +++ b/nikola/data/samplesite/dodo.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python +# -*- coding: utf-8 -*- + +# Please don't edit this file unless you really know what you are doing. +# The configuration is now in conf.py + +from doit.reporter import ExecutedOnlyReporter + +from nikola.nikola import Nikola + +import conf + +DOIT_CONFIG = { + 'reporter': ExecutedOnlyReporter, + 'default_tasks': ['render_site'], +} +SITE = Nikola(**conf.__dict__) + + +def task_render_site(): + return SITE.gen_tasks() |
