Skip to content

Commit

Permalink
📚 Add docs for the CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
s-weigand committed Aug 22, 2021
1 parent a464ec3 commit 26a80ba
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# documentation dependencies
Sphinx>=3.2.0
sphinx-click>=3.0.1
sphinx-rtd-theme>=0.5.1
sphinx-copybutton>=0.3.0
myst-parser>=0.12.0
Expand Down
1 change: 1 addition & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"sphinx.ext.imgmath",
"sphinx.ext.viewcode",
"sphinx.ext.napoleon",
"sphinx_click",
"nbsphinx",
"sphinx_last_updated_by_git",
"myst_parser",
Expand Down
1 change: 1 addition & 0 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ Welcome to pyglotaran's documentation!
user_documentation/parameter
user_documentation/optimizing
user_documentation/using_plugins
user_documentation/cli

.. toctree::
:maxdepth: 1
Expand Down
6 changes: 6 additions & 0 deletions docs/source/user_documentation/cli.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Command-line Interface
======================

.. click:: glotaran.cli:main
:prog: glotaran
:nested: full
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ glotaran.plugins.project_io =
test = pytest

[rstcheck]
ignore_directives = autoattribute,autoclass,autoexception,autofunction,automethod,automodule,highlight
ignore_directives = autoattribute,autoclass,autoexception,autofunction,automethod,automodule,highlight,click
ignore_messages = xarraydoc

[darglint]
Expand Down

0 comments on commit 26a80ba

Please sign in to comment.