antmicro / tuttest

A simple Python utility for extracting documentation snippets from tutorials.
Apache License 2.0
13 stars 2 forks source link

Get the snippets as an array to enable processing in Python #2

Closed mgielda closed 4 years ago

mgielda commented 4 years ago

Currently we present the entire "spec" as one argument to tuttest. It could be a good idea to enable more complex parsing of the tutorial - i.e. to write a program that generates the tutorial commands to be run. Python is really good for this.

We can keep the fromstring capability, but make it base on the "Pythonic" extraction of the snippets.

mgielda commented 4 years ago

This was actually already done this way, but refactored this a bit. Closing.