Skip to content

Commit

Permalink
Adding docs to readme.
Browse files Browse the repository at this point in the history
Signed-off-by: Euan Torano <[email protected]>
  • Loading branch information
euantorano committed Jun 16, 2017
1 parent b2fc2c3 commit 654c673
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Or add the following to your `.nimble` file:
requires "pledge >= 1.1.0"
```

## [Documentation](https://htmlpreview.github.io/?https://github.com/euantorano/pledge.nim/blob/master/docs/pledge.html)

## Usage

```nim
Expand Down
2 changes: 1 addition & 1 deletion tests/main.nim
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ suite "pledge tests":
pledge(Promise.Stdio)

expect OSError:
pledge(Promise.Stdio, Promise.Rpath) == false
pledge(Promise.Stdio, Promise.Rpath)

0 comments on commit 654c673

Please sign in to comment.