aboutsummaryrefslogtreecommitdiffstats
path: root/doc/hacking.txt
diff options
context:
space:
mode:
authorW. Trevor King <wking@tremily.us>2012-10-26 08:13:13 -0400
committerW. Trevor King <wking@tremily.us>2012-10-26 08:16:38 -0400
commitd9b9c4fdb13a0e0dc41184ea8d907bd5fa156e0d (patch)
tree4fa765a5b72b1a4c1c083e80706128620a3fc9f8 /doc/hacking.txt
parent26aadf775cbafd14e98870f818aae078181080d8 (diff)
downloadbugseverywhere-d9b9c4fdb13a0e0dc41184ea8d907bd5fa156e0d.tar.gz
doc: update :mod: to :py:mod: for modern Sphinx.
Diffstat (limited to 'doc/hacking.txt')
-rw-r--r--doc/hacking.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/hacking.txt b/doc/hacking.txt
index 2684597..1a42fa5 100644
--- a/doc/hacking.txt
+++ b/doc/hacking.txt
@@ -7,10 +7,10 @@ Adding commands
To write a plugin, you simply create a new file in the
:file:`libbe/command/` directory. Take a look at one of the simpler
-plugins (e.g. :mod:`libbe.command.remove`) for an example of how that
+plugins (e.g. :py:mod:`libbe.command.remove`) for an example of how that
looks, and to start getting a feel for the libbe interface.
-See :mod:`libbe.command.base` for the definition of the important
+See :py:mod:`libbe.command.base` for the definition of the important
classes :class:`~libbe.command.base.Option`,
:class:`~libbe.command.base.Argument`,
:class:`~libbe.command.base.Command`,
@@ -29,8 +29,8 @@ completion for arbitrary plugins. In order to support this system,
any of your completable :class:`~libbe.command.base.Argument`
instances (in your command's ``.options`` or ``.args``) should be
initialized with some valid completion_callback function. Some common
-cases are defined in :mod:`libbe.command.util`. If you need more
-flexibility, see :mod:`libbe.command.list`\'s ``--sort`` option for an
+cases are defined in :py:mod:`libbe.command.util`. If you need more
+flexibility, see :py:mod:`libbe.command.list`\'s ``--sort`` option for an
example of extensions via :class:`libbe.command.util.Completer`, or
write a custom completion function from scratch.
@@ -38,7 +38,7 @@ write a custom completion function from scratch.
Adding user interfaces
======================
-Take a look at :mod:`libbe.ui.command_line` for an example.
+Take a look at :py:mod:`libbe.ui.command_line` for an example.
Basically you'll need to setup a
:class:`~libbe.command.base.UserInterface` instance for running
commands. More details to come after I write an HTML UI...