doc: fix JSON generation for aliased methods
authorTimothy Gu <timothygu99@gmail.com>
Tue, 26 Jan 2016 03:56:21 +0000 (19:56 -0800)
committerMyles Borins <mborins@us.ibm.com>
Wed, 2 Mar 2016 22:01:11 +0000 (14:01 -0800)
commite8580db5c8531cfdf480b31da38079c209bc6c77
tree31f8c3063cafa154c789a68b89cc21441b53d0a3
parent51324a753714211189f45bfbf8908c238709e8b0
doc: fix JSON generation for aliased methods

Currently assert/assert.ok currently has the following signature:

    "signatures": [
      {
        "params": [
          {
            "name": "value"
          },
          {
            "name": "message])"
          },
          {
            "name": "assert.ok(value"
          },
          {
            "name": "message",
            "optional": true
          }
        ]
      }
    ]

The heading reads

    assert(value[, message]), assert.ok(value[, message])

Split them into two sections to make it working.

PR-URL: https://github.com/nodejs/node/pull/4871
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
doc/api/assert.markdown