Commit b41ecb80 authored by Matthieu Boileau's avatar Matthieu Boileau
Browse files

Rename NbCourse.run() -> NbCourse.build()

parent 2264cead
......@@ -44,4 +44,4 @@ def main():
initialize()
else:
course = NbCourse(parsed.config_file)
course.run(extra)
course.build(extra)
......@@ -42,6 +42,7 @@ class NbCourse:
'local_reveal': False,
'slug_title': 'course',
'output_dir': 'build',
'title': 'A course'
}
def __init__(self, config_file: Path = None):
......@@ -315,7 +316,7 @@ class NbCourse:
self.conf['slug_title'])})],
}
def run(self, args: list):
def build(self, args: list = []):
doit_config = {} # TODO: implement verbosity option
sys.exit(MyDoitMain(ClassTaskLoader(self),
extra_config=doit_config).run(args))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment