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)
commit85ed72adb1bf18da99851fc3cbcac17a39042f6a
tree7d2e8bbb624b6556ba98db7adb720b23f8ae305b
parent7e8f334b8e63cfc071beb80657fa8881eaddc5f4
parentb1c7b1c9e50b3d6a621f9863f3bdfe036d7f0298
Merge: nitweb: use doc-commands

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>