summaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2020-02-06 23:30:33 -0500
committerGitHub <noreply@github.com>2020-02-06 23:30:33 -0500
commit3c627af7c1e22bcd0cd0a49dee05fd6b626bccc5 (patch)
treeba04d09ce9d0df114890db8e31dd6cb6988f9d7b /docs/api
parentc7ac2e965d025806ce5baddfc718814e3e58d639 (diff)
parent90152df53478a00a3c64ba5ece160485408680dd (diff)
downloadcmd2-git-3c627af7c1e22bcd0cd0a49dee05fd6b626bccc5.tar.gz
Merge pull request #875 from python-cmd2/doc_streamline
Doc streamline
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/cmd.rst4
-rw-r--r--docs/api/decorators.rst8
-rw-r--r--docs/api/exceptions.rst4
3 files changed, 8 insertions, 8 deletions
diff --git a/docs/api/cmd.rst b/docs/api/cmd.rst
index ee8d7c67..e20e8eff 100644
--- a/docs/api/cmd.rst
+++ b/docs/api/cmd.rst
@@ -1,9 +1,11 @@
cmd2.Cmd
========
-.. autoclass:: cmd2.cmd2.Cmd
+.. autoclass:: cmd2.Cmd
:members:
+ .. automethod:: __init__
+
.. attribute:: help_error
The error message displayed to the user when they request help for a
diff --git a/docs/api/decorators.rst b/docs/api/decorators.rst
index a5fc022e..12ab62fa 100644
--- a/docs/api/decorators.rst
+++ b/docs/api/decorators.rst
@@ -1,10 +1,10 @@
Decorators
==========
-.. autofunction:: cmd2.decorators.with_category
-
-.. autofunction:: cmd2.decorators.with_argument_list
+.. autofunction:: cmd2.decorators.with_argparser
.. autofunction:: cmd2.decorators.with_argparser_and_unknown_args
-.. autofunction:: cmd2.decorators.with_argparser
+.. autofunction:: cmd2.decorators.with_argument_list
+
+.. autofunction:: cmd2.decorators.with_category
diff --git a/docs/api/exceptions.rst b/docs/api/exceptions.rst
index 656c4a5a..400993aa 100644
--- a/docs/api/exceptions.rst
+++ b/docs/api/exceptions.rst
@@ -1,6 +1,4 @@
Exceptions
==========
-.. autoexception:: cmd2.cmd2.EmbeddedConsoleExit
-
-.. autoexception:: cmd2.cmd2.EmptyStatement
+.. autoexception:: cmd2.EmptyStatement