Skip to content

Commit

Permalink
DOC : Improve api docs for pyface.undo and pyface.undo.action (#847)
Browse files Browse the repository at this point in the history
modified:   pyface/undo/action/api.py
	modified:   pyface/undo/api.py
  • Loading branch information
Poruri Sai Rahul authored Dec 16, 2020
1 parent 3a05cca commit 98e191c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
13 changes: 13 additions & 0 deletions pyface/undo/action/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@
# Description: <Enthought undo package component>
# ------------------------------------------------------------------------------

"""
API for ``pyface.undo.action``.
CommandAction and useful subclasses
-----------------------------------
- :class:`~.CommandAction`
- :class:`~.RedoAction`
- :class:`~.UndoAction`
"""

from .command_action import CommandAction
from .redo_action import RedoAction
from .undo_action import UndoAction
16 changes: 16 additions & 0 deletions pyface/undo/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,22 @@
# Description: <Enthought undo package component>
# ------------------------------------------------------------------------------

"""
API for ``pyface.undo``.
Interfaces and Implementations
------------------------------
- :class:`~.ICommand`
- :class:`~.AbstractCommand`
- :class:`~.ICommandStack`
- :class:`~.CommandStack`
- :class:`~.IUndoManager`
- :class:`~.UndoManager`
"""

from .abstract_command import AbstractCommand
from .command_stack import CommandStack
from .i_command import ICommand
Expand Down

0 comments on commit 98e191c

Please sign in to comment.