chaijs / chaijs.github.io

The chaijs.com website source code. Contributions welcome.
http://chaijs.github.io
49 stars 71 forks source link

API params missing #126

Closed astorije closed 8 years ago

astorije commented 8 years ago

Before the website refactor, all APIs were specifying which type was expected as parameters. This was recently removed. Here is what I am talking about:

Before After
screen shot 2016-04-20 at 23 58 48 screen shot 2016-04-20 at 23 59 03

(First screenshot courtesy of the Internet Archive).

I am wondering, was that on purpose or an accident? I found that really helpful (so helpful that I made sure to provide the same for my plugin). If an accident, would that be complex to re-add them?

keithamus commented 8 years ago

Looks like this is an accident. @astorije if you want to take a look at fixing it, that'd be awesome. Here's how the docs are currently rendered: https://github.com/chaijs/chai-docs/blob/master/_layouts/api.html#L67-L69

keithamus commented 8 years ago

Closed by #130