Hugo Josefson 7e0127819a Fix args regression: readme --shallow --format (Invalid second argument) (#968)
* Add shared_options to readme command.

This makes --shallow and --format work again.

* Update yarn.lock based on package.json.

* Move readme example to where it works,

remove superfluous usage string.

yargs@>=7 throws exceptions on incorrectly structured builder objects.

* Update expected readme test fixture.

* Update bin-readme snapshot.

* s/_.assign/Object.assign/g thanks to node@>=4.

* Update yarn.lock based on package.json (lint-staged@6)

* Override flow error message.
2017-12-10 15:04:32 +03:00
..
2017-05-08 20:46:21 -04:00
2017-05-08 20:46:21 -04:00

A title

API

Table of Contents

foo

A function with documentation.

Parameters

  • a {string} blah

Returns number answer

bar

A second function with docs

Parameters

  • b

Another section