@task(help=dict(<EOL>docs="<STR_LIT>",<EOL>))<EOL>def build(ctx, docs=False):
cfg = config.load()<EOL>ctx.run("<STR_LIT>")<EOL>if docs:<EOL><INDENT>for doc_path in ('<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>if os.path.exists(cfg.rootjoin(doc_path, '<STR_LIT>')):<EOL><INDENT>break<EOL><DEDENT><DEDENT>else:<EOL><INDENT>doc_path = None<EOL><DEDENT>if doc_path:<EOL><INDENT>ctx.run("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>notify.warning("<STR_LIT>")<EOL><DEDENT><DEDENT>
Build the project.