Merge: nitweb: use doc-commands
authorJean Privat <jean@pryen.org>
Tue, 19 Dec 2017 15:17:35 +0000 (10:17 -0500)
committerJean Privat <jean@pryen.org>
Tue, 19 Dec 2017 15:17:35 +0000 (10:17 -0500)
Migrate nitweb to the doc-commands system.

Changes:
* moved the group to `doc::api`
* use doc-commands (backend and frontend changes)
* limited the size of produced json at the maximum
* API accepts "?pretty" parameter

Pull-Request: #2592
Reviewed-by: Jean Privat <jean@pryen.org>


Trivial merge