-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
229 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# Documentation | ||
This is some text | ||
|
||
```%method-doc | ||
{ | ||
"method": "<open_files>", | ||
"desc": "Loops through any files that are not opened and opens them <a>", | ||
"args": { | ||
"files": { | ||
"type": "Array<File>", | ||
"desc": "An array of file <objects> that may need to be opened" | ||
}, | ||
"ext<a>": { | ||
"type": "<String>", | ||
"desc": "An optional extension that may be used as a filter to <determine> which files to open" | ||
} | ||
}, | ||
"constraints": [ | ||
"0 <= files.length <= 10 <a>" | ||
], | ||
"errors": [ | ||
"<a> error", | ||
"foo" | ||
], | ||
"returns": { | ||
"type": "Array<File>", | ||
"desc": "<A> filtered array of files that were opened" | ||
}, | ||
"examples": [ | ||
{ | ||
"name": "Example <A>", | ||
"args": [[1,2,3], "<js>"], | ||
"returns": [1,2, "<a>"] | ||
}, | ||
{ | ||
"args": [[1,2,3], "rb"], | ||
"returns": [3] | ||
} | ||
] | ||
} | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters