diff --git a/documenteer/stackdocs/stackcli.py b/documenteer/stackdocs/stackcli.py
index <HASH>..<HASH> 100644
--- a/documenteer/stackdocs/stackcli.py
+++ b/documenteer/stackdocs/stackcli.py
@@ -4,8 +4,11 @@
 __all__ = ('main',)
 
 import logging
+import sys
 import click
 
+from .build import build_stack_docs
+
 
 # Add -h as a help shortcut option
 CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])
@@ -58,3 +61,13 @@ def help(ctx, topic, **kw):
         click.echo(ctx.parent.get_help())
     else:
         click.echo(main.commands[topic].get_help(ctx))
+
+
+@main.command()
+@click.pass_context
+def build(ctx):
+    """Build documentation as HTML.
+    """
+    return_code = build_stack_docs(ctx.obj['root_project_dir'])
+    if return_code > 0:
+        sys.exit(return_code)
Add stack-docs build command

Uses the existing build pipeline from build-stack-docs (the earlier
argparse-based CLI).