From bf3dc169c047acda1c1cf505e8cd0e9e46d4b4cf Mon Sep 17 00:00:00 2001 From: kotfu Date: Wed, 5 Feb 2020 22:31:18 -0700 Subject: Clean up class and method references - In docs/api/cmd.rst, the `cmd2.Cmd` class was defined as `cmd2.cmd2.Cmd`, which required the extraneous `cmd2` every time we referenced it. This extra `cmd2` is no longer required. - always refer to a bare cmd2 using ``cmd2`` per our documentation conventions --- docs/examples/alternate_event_loops.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/examples') diff --git a/docs/examples/alternate_event_loops.rst b/docs/examples/alternate_event_loops.rst index 317ebd9f..41e27369 100644 --- a/docs/examples/alternate_event_loops.rst +++ b/docs/examples/alternate_event_loops.rst @@ -5,7 +5,7 @@ Throughout this documentation we have focused on the **90%** use case, that is the use case we believe around **90+%** of our user base is looking for. This focuses on ease of use and the best out-of-the-box experience where developers get the most functionality for the least amount of effort. We are talking -about running cmd2 applications with the ``cmdloop()`` method:: +about running ``cmd2`` applications with the ``cmdloop()`` method:: from cmd2 import Cmd class App(Cmd): @@ -78,5 +78,5 @@ with several disadvantages, including: Here is a little more info on ``runcmds_plus_hooks``: -.. automethod:: cmd2.cmd2.Cmd.runcmds_plus_hooks +.. automethod:: cmd2.Cmd.runcmds_plus_hooks :noindex: -- cgit v1.2.1