Skip to content

Commit 24c6232

Browse files
committed
Update docs
Closes GH-1.
1 parent 4160bb4 commit 24c6232

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,13 @@ world.
3737

3838
## API
3939

40-
### `source(value, file)`
40+
### `source(value, doc)`
4141

4242
###### Parameters
4343

4444
* `value` ([`Node`][node] or [`Location`][location]) — Value to get.
45-
* `file` ([`VFile`][vfile]) — Virtual file in which `value` exists.
45+
* `doc` ([`VFile`][vfile] or `string`) — Document in which `value`
46+
exists.
4647

4748
###### Returns
4849

0 commit comments

Comments
 (0)