Skip to content

Commit

Permalink
More RsT to Sphynx conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Jun 2, 2015
1 parent 3a55b2d commit 317d750
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
14 changes: 9 additions & 5 deletions docs/commands.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ name and a colon. Files is searched for using *sys.path*, and the `.py`
suffix may be omitted in the file name.

Examples:
++++++++
+++++++++

::

break # Break where we are current stopped at
break if i < j # Break at current line if i < j
Expand Down Expand Up @@ -60,6 +62,8 @@ made unconditional.
Examples:
+++++++++

::

condition 5 x > 10 # Breakpoint 5 now has condition x > 10
condition 5 # Remove above condition

Expand All @@ -69,8 +73,6 @@ See also:
`break`, `tbreak`."""




Data
====

Expand All @@ -94,6 +96,8 @@ disassemble that.
Examples:
+++++++++

::

disassemble # Possibly lots of stuff dissassembled
disassemble . # Disassemble lines starting at current stopping point.
disassemble + # Same as above
Expand Down Expand Up @@ -220,9 +224,9 @@ Files
List (show me the code!)
------------------------

The list command will show you your source code.
The list command will show you your source code::

.. code:: python
::

(trepan2) list 2
1 #!/usr/bin/python
Expand Down
4 changes: 1 addition & 3 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
Welcome to trepan's documentation!
==================================

Contents:

.. toctree::
:maxdepth: 2

See :doc:`commands` for a the debugger command reference.
See :doc:`commands` for the debugger command reference.

Indices and tables
==================
Expand Down

0 comments on commit 317d750

Please sign in to comment.