diff --git a/__init__.py b/__init__.py index 0cfe8dd..937e69f 100644 --- a/__init__.py +++ b/__init__.py @@ -6,5 +6,6 @@ """ __requires__ = [ + 'coherent.docs', 'coherent.test', ] diff --git a/__main__.py b/__main__.py index 3066bde..a75b8ed 100644 --- a/__main__.py +++ b/__main__.py @@ -37,6 +37,12 @@ def build() -> None: runpy.run_module('coherent.build', run_name='__main__') +@passthrough_command +def docs() -> None: + del sys.argv[1] + runpy.run_module('coherent.docs', run_name='__main__') + + @app.command(context_settings=dict(allow_extra_args=True)) def tag( kind_or_name: str,