Merge: doc_commands: parse parameters
authorJean Privat <jean@pryen.org>
Thu, 28 Sep 2017 23:39:22 +0000 (19:39 -0400)
committerJean Privat <jean@pryen.org>
Thu, 28 Sep 2017 23:39:22 +0000 (19:39 -0400)
commit2ccbeaad994054d1e20c4424193ffd3c8e75118e
tree1dad27798668d860adc77459ce3d701db9eca5a9
parent96430f1a1a3630d10d219bd86a29a60761b0ac66
parent067f7e7f1ab1e2590af4f30e0fa90922c268ef47
Merge: doc_commands: parse parameters

This PR allows the user of doc cards to pass parameters through the card declaration:

* `command: arg | option1: value1, option2: value2`

It can be used in a doc command so one can write:

~~~
Here a graph:
[[graph: core::Array | cdepth: 1, pdepth: 4]]
~~~

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