Skip to content

Commit

Permalink
Added snippets to doc
Browse files Browse the repository at this point in the history
  • Loading branch information
mixxorz committed Jun 29, 2015
1 parent a44057a commit 220931e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ Contents:
gettingstarted
commands
keybindings
snippets
configuration
troubleshooting

Expand Down
12 changes: 12 additions & 0 deletions docs/snippets.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Snippets
========

**step**

Snippet for step functions

.. code-block:: python
@given(u'step name')
def step_impl(context):
raise NotImplementedError(u'STEP: step name')

0 comments on commit 220931e

Please sign in to comment.