Merge: doc/commands: extract CmdCode superclass
authorJean Privat <jean@pryen.org>
Thu, 25 Jan 2018 20:16:35 +0000 (15:16 -0500)
committerJean Privat <jean@pryen.org>
Thu, 25 Jan 2018 20:16:35 +0000 (15:16 -0500)
commit0b0fc2a2959acaa0b4bf46148085ea635df2418b
tree4d004f33235fb6aab7ec1998356ab122e1865b2c
parent50f5c44e0657625e1aee74f239f48fe53fd69733
parent3f372af0189ec817f1f1943b04853d83f579b53b
Merge: doc/commands: extract CmdCode superclass

Provides a common super class to factorize code rendering services for doc commands.

Changes:
* renamed `CmdComment::render` to `render_comment` to avoid name conflicts with multiple inheritance
* extracted `CmdCode` command to factorize code related services
* introduced new class `CmdEntityCode`, in place of the old `CmdCode` class
* updated nitx/nitweb clients
* updated tests

Pull-Request: #2609