Skip to content

Commit

Permalink
[docs] small formatting fix
Browse files Browse the repository at this point in the history
  • Loading branch information
junjuew committed Apr 21, 2020
1 parent 5d7da55 commit 8155727
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ Python Library gabrieltool

Create a Two State FSM

::

.. code-block:: python
:linenos:
from gabrieltool.statemachine import fsm, predicate_zoo, processor_zoo
Expand Down Expand Up @@ -37,7 +37,9 @@ Create a Two State FSM
.. _python_save_fsm:

Save the FSM to a file
::

.. code-block:: python
:linenos:
# save to disk
with open('simple.pbfsm', 'wb') as f:
Expand All @@ -47,7 +49,9 @@ Save the FSM to a file
))
Launch a gabriel server using the FSM.
::

.. code-block:: python
:linenos:
from gabriel_server.local_engine import runner as gabriel_runner
from gabrieltool.statemachine import runner
Expand Down

0 comments on commit 8155727

Please sign in to comment.