Skip to content

Commit

Permalink
Add auto-generated docs for command line api
Browse files Browse the repository at this point in the history
  • Loading branch information
jfischer committed Mar 19, 2019
1 parent 19b3848 commit baf5e5d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,7 @@
3. Command Reference
====================
In this section, we describe the full command line interface for Data Workspaces.

.. click:: dataworkspaces.dws:cli
:prog: dws
:show-nested:
1 change: 1 addition & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'sphinx_click.ext'
]

autodoc_mock_imports=['click']
Expand Down
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# requirements for building the doc
sphinx_rtd_theme
sphinx-click

0 comments on commit baf5e5d

Please sign in to comment.