Skip to content

Commit 7bf6169

Browse files
committed
run verb
1 parent 168c5f6 commit 7bf6169

3 files changed

Lines changed: 27 additions & 27 deletions

File tree

.verb.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,6 @@ console.log(result.output);
183183
{%= verb.related.description %}
184184
{%= related(verb.related.implementations) %}
185185

186-
187186
## History
188187

189188
### v0.9.0

README.md

Lines changed: 25 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ console.log(result.output);
198198

199199
## API
200200

201-
### [Parser](lib/parser.js#L28)
201+
### [Parser](lib/parser.js#L27)
202202

203203
Create a new `Parser` with the given `input` and `options`.
204204

@@ -215,7 +215,7 @@ var Parser = Snapdragon.Parser;
215215
var parser = new Parser();
216216
```
217217

218-
### [.error](lib/parser.js#L96)
218+
### [.error](lib/parser.js#L94)
219219

220220
Throw a formatted error message with details including the cursor position.
221221

@@ -235,7 +235,7 @@ parser.set('foo', function(node) {
235235
});
236236
```
237237

238-
### [.define](lib/parser.js#L114)
238+
### [.define](lib/parser.js#L112)
239239

240240
Define a non-enumberable property on the `Parser` instance. This is useful in plugins, for exposing methods inside handlers.
241241

@@ -251,7 +251,7 @@ Define a non-enumberable property on the `Parser` instance. This is useful in pl
251251
parser.define('foo', 'bar');
252252
```
253253

254-
### [.node](lib/parser.js#L132)
254+
### [.node](lib/parser.js#L130)
255255

256256
Create a new [Node](#node) with the given `val` and `type`.
257257

@@ -267,7 +267,7 @@ Create a new [Node](#node) with the given `val` and `type`.
267267
parser.node('/', 'slash');
268268
```
269269

270-
### [.position](lib/parser.js#L154)
270+
### [.position](lib/parser.js#L152)
271271

272272
Mark position and patch `node.position`.
273273

@@ -286,7 +286,7 @@ parser.set('foo', function(node) {
286286
});
287287
```
288288

289-
### [.set](lib/parser.js#L186)
289+
### [.set](lib/parser.js#L184)
290290

291291
Add parser `type` with the given visitor `fn`.
292292

@@ -306,7 +306,7 @@ Add parser `type` with the given visitor `fn`.
306306
});
307307
```
308308

309-
### [.get](lib/parser.js#L205)
309+
### [.get](lib/parser.js#L203)
310310

311311
Get parser `type`.
312312

@@ -320,7 +320,7 @@ Get parser `type`.
320320
var fn = parser.get('slash');
321321
```
322322

323-
### [.push](lib/parser.js#L228)
323+
### [.push](lib/parser.js#L226)
324324

325325
Push a node onto the stack for the given `type`.
326326

@@ -342,7 +342,7 @@ parser.set('all', function() {
342342
});
343343
```
344344

345-
### [.pop](lib/parser.js#L258)
345+
### [.pop](lib/parser.js#L256)
346346

347347
Pop a token off of the stack of the given `type`.
348348

@@ -368,7 +368,7 @@ parser.set('close', function() {
368368
});
369369
```
370370

371-
### [.isInside](lib/parser.js#L288)
371+
### [.isInside](lib/parser.js#L286)
372372

373373
Return true if inside a "set" of the given `type`. Sets are created manually by adding a type to `parser.sets`. A node is "inside" a set when an `*.open` node for the given `type` was previously pushed onto the set. The type is removed from the set by popping it off when the `*.close` node for the given type is reached.
374374

@@ -390,7 +390,7 @@ parser.set('close', function() {
390390
});
391391
```
392392

393-
### [.isType](lib/parser.js#L305)
393+
### [.isType](lib/parser.js#L303)
394394

395395
Return true if `node` is the given `type`.
396396

@@ -406,7 +406,7 @@ Return true if `node` is the given `type`.
406406
parser.isType(node, 'brace');
407407
```
408408

409-
### [.prev](lib/parser.js#L321)
409+
### [.prev](lib/parser.js#L319)
410410

411411
Get the previous AST node from the `parser.stack` (when inside a nested context) or `parser.nodes`.
412412

@@ -418,7 +418,7 @@ Get the previous AST node from the `parser.stack` (when inside a nested context)
418418
var prev = this.prev();
419419
```
420420

421-
### [.prev](lib/parser.js#L375)
421+
### [.prev](lib/parser.js#L373)
422422

423423
Match `regex`, return captures, and update the cursor position by `match[0]` length.
424424

@@ -445,7 +445,7 @@ var match = this.match(/^\./);
445445
var ast = parser.parse('foo/bar');
446446
```
447447

448-
### [Compiler](lib/compiler.js#L22)
448+
### [Compiler](lib/compiler.js#L24)
449449

450450
Create a new `Compiler` with the given `options`.
451451

@@ -462,7 +462,7 @@ var Compiler = Snapdragon.Compiler;
462462
var compiler = new Compiler();
463463
```
464464

465-
### [.error](lib/compiler.js#L62)
465+
### [.error](lib/compiler.js#L67)
466466

467467
Throw a formatted error message with details including the cursor position.
468468

@@ -482,7 +482,7 @@ compiler.set('foo', function(node) {
482482
});
483483
```
484484

485-
### [.emit](lib/compiler.js#L81)
485+
### [.emit](lib/compiler.js#L86)
486486

487487
Concat the given string to `compiler.output`.
488488

@@ -500,7 +500,7 @@ compiler.set('foo', function(node) {
500500
});
501501
```
502502

503-
### [.noop](lib/compiler.js#L99)
503+
### [.noop](lib/compiler.js#L104)
504504

505505
Emit an empty string to effectively "skip" the string for the given `node`, but still emit the position and node type.
506506

@@ -515,7 +515,7 @@ Emit an empty string to effectively "skip" the string for the given `node`, but
515515
snapdragon.compiler.set('bos', compiler.noop);
516516
```
517517

518-
### [.define](lib/compiler.js#L119)
518+
### [.define](lib/compiler.js#L124)
519519

520520
Define a non-enumberable property on the `Compiler` instance. This is useful in plugins, for exposing methods inside handlers.
521521

@@ -533,7 +533,7 @@ compiler.define('customMethod', function() {
533533
});
534534
```
535535

536-
### [.set](lib/compiler.js#L147)
536+
### [.set](lib/compiler.js#L152)
537537

538538
Add a compiler `fn` for the given `type`. Compilers are called when the `.compile` method encounters a node of the given type to generate the output string.
539539

@@ -557,7 +557,7 @@ compiler
557557
});
558558
```
559559

560-
### [.get](lib/compiler.js#L163)
560+
### [.get](lib/compiler.js#L168)
561561

562562
Get the compiler of the given `type`.
563563

@@ -571,7 +571,7 @@ Get the compiler of the given `type`.
571571
var fn = compiler.get('slash');
572572
```
573573

574-
### [.visit](lib/compiler.js#L183)
574+
### [.visit](lib/compiler.js#L188)
575575

576576
Visit `node` using the registered compiler function associated with the `node.type`.
577577

@@ -589,7 +589,7 @@ compiler
589589
})
590590
```
591591

592-
### [.mapVisit](lib/compiler.js#L206)
592+
### [.mapVisit](lib/compiler.js#L226)
593593

594594
Iterate over `node.nodes`, calling [visit](#visit) on each node.
595595

@@ -607,7 +607,7 @@ compiler
607607
})
608608
```
609609

610-
### [.compile](lib/compiler.js#L231)
610+
### [.compile](lib/compiler.js#L250)
611611

612612
Compile the given `AST` and return a string. Iterates over `ast.nodes` with [mapVisit](#mapVisit).
613613

@@ -673,7 +673,7 @@ Pull requests and stars are always welcome. For bugs and feature requests, [plea
673673

674674
| **Commits** | **Contributor** |
675675
| --- | --- |
676-
| 136 | [jonschlinkert](https://github.com/jonschlinkert) |
676+
| 139 | [jonschlinkert](https://github.com/jonschlinkert) |
677677
| 2 | [doowb](https://github.com/doowb) |
678678

679679
### Building docs
@@ -708,4 +708,4 @@ MIT
708708

709709
***
710710

711-
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on February 08, 2017._
711+
_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.4.2, on March 12, 2017._

verbfile.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ module.exports = function(verb) {
44
verb.use(require('verb-generate-readme'));
55

66
verb.task('docs', function(cb) {
7-
return verb.src('support/*.md', {cwd: __dirname})
7+
return verb.src('support/src/content/*.md', {cwd: __dirname})
8+
.pipe(verb.renderFile('md', {layout: null}))
89
.pipe(verb.dest('docs'))
910
});
1011

0 commit comments

Comments
 (0)